1
0
Fork 0
forked from wezm/wezm.net
wezm.net/v1
2023-07-03 09:35:07 +10:00
..
content Add v2 sitemap.xml to root robots.txt 2023-07-03 09:34:54 +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 Update Mastodon links on old site 2023-01-30 11:13:07 +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 Set v2 base_url to https 2023-07-03 09:35:07 +10: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`