update: Hugo doesn’t seem to like blog posts with dates far in the future anymore. Sticking the actual cheatsheet in the lab now.
You can make this particularly handy by keeping a
cheatsheet.md post like this:
$ tree osgav/content osgav/content ├── page │ ├── hugo-markdown-cheatsheet.md │ └── projects.md └── post ├── cheatsheet.md ├── whois-osgav.md └── zerodots.md
Keep a copy of
cheatsheet.md as a draft post, with a date in the future - this will make it the most recent post in your blog, so it will be the first post you see when testing locally with
hugo server (and passing in the
$ head content/post/cheatsheet.md +++ author = "osgav" date = "2070-01-01T00:00:00Z" draft = true slug = "cheatsheet" tags = ["formatting-cheatsheet-dont-undraft"] title = "cheatsheet" +++