My new blog
This is my new hugo blog. Mental note: Document how stuff works because being unable to even operate this machinery when you want to write a post is not going to make you want to write more posts.
How to deploy
This blog is hosted on netlify, and it's set up to deploy the site whenever the master branch gets pushed.
How to test out stuff
develop branch deploys to the test blog setup in netlify,
definitely check that out too.
These live in
follow netlify's scheme.
This allows embedding videos, screencasts. To ensure maximum
compatibility, you have to provide both a
webm and a
video. You can do that via ffmpeg.
To create the compatible videos from a QuickTime screen recording, use:
INPUT=the-video-file.mov # set this to your filename WEBM="$(basename "$INPUT" .mov).webm" MP4="$(basename "$INPUT" .mov).mp4" ffmpeg -i "$INPUT" ~blog/static/assets/videos/"$MP4" ffmpeg -i "$INPUT" -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis ~blog/static/assets/videos/"$WEBM"