mirror of
https://github.com/wezm/wezm.net.git
synced 2025-12-14 17:04:15 +00:00
| .. | ||
| content | ||
| drafts | ||
| etc | ||
| layouts | ||
| lib | ||
| output | ||
| script | ||
| templates | ||
| .gitignore | ||
| .ruby-version | ||
| config.yaml | ||
| Dockerfile | ||
| Gemfile | ||
| Gemfile.lock | ||
| Guardfile | ||
| Rakefile | ||
| README.mkdn | ||
| Rules | ||
WezM.net
========
Site Structure
--------------
/articles
/technical
/category
/personal
/category
/about
Tips
----
Set updated_at on a post in vim:
:r! ruby -rtime -e "puts File.mtime('%:r.md').xmlschema"
Trim CLI screenshots:
convert *.png -set filename:name '%t' -background white -splice 0x1 -background white -splice 0x1 -trim +repage -chop 0x1 '%[filename:name].png'
Setup
-----
frum install (then cd ..; cd -)
gem install bundler --no-doc --version '~> 1'
bundle install
Building and Deployment
-----------------------
* Build with: `nanoc co`
* Deploy with: `nanoc deploy`