wezm.net/v1
2022-02-28 14:56:26 +10:00
..
content Link to new Alpine post from old one 2022-02-28 14:56:26 +10:00
drafts Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
etc Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
layouts Not using Patreon anymore 2020-06-24 07:41:02 +10:00
lib Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
output Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
script Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
templates Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
.gitignore Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
.ruby-version Update Alpine infra post to note move to lego 2022-01-15 10:47:51 +10:00
config.yaml Add banner to v1 pointing at v2 2020-01-29 20:51:52 +11:00
Dockerfile Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
Gemfile Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
Gemfile.lock Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
Guardfile Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
Rakefile Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
README.mkdn Update Alpine infra post to note move to lego 2022-01-15 10:47:51 +10:00
Rules Move existing site to v1 directory 2020-01-29 09:04:25 +11:00

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`