From 3e42a9969dc9646519340ff666176f5376c3e10f Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Sun, 31 Dec 2017 08:57:49 +1100 Subject: [PATCH] Draft: built-with-cobalt --- .../technical/2017/10/built-with-cobalt.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 content/technical/2017/10/built-with-cobalt.md diff --git a/content/technical/2017/10/built-with-cobalt.md b/content/technical/2017/10/built-with-cobalt.md new file mode 100644 index 0000000..d38594d --- /dev/null +++ b/content/technical/2017/10/built-with-cobalt.md @@ -0,0 +1,21 @@ +I replaced Hugo with Cobalt on [Bit Cannon]. +Hugo is great, I had no complaints, but as mentioned in my [last post][rust-tools] +I want to make use of Rust tools where reasonably possible, to help them and +Rust itself gain traction. + +The conversion was relatively straight forward. I wrote [a little Ruby script +(hugo2cobalt)][hugo2cobalt] to convert the front matter from TOML to YAML and +ensure the dates were in the right format. I ported the "theme" to Liquid. +Cobalt doesn't have any support for pagination at the moment, so that didn't make +the cut, which is fine with the number of posts I have. Tag support is limited +but I've only used one tag on the site so far, so it was easy to manually add +a tag page for, '[#wesonlinux]'. I was able to preserve the same URL structure +for all pages, so that was easy. + +Cobalt supports [JSON Feed], so I enabled that. + +[Bit Cannon]: http://bitcannon.net/ +[hugo2cobalt]: https://github.com/wezm/hugo2cobalt +[JSON Feed]: https://jsonfeed.org/ +[rust-tools]: /technical/2017/09/rust-tools-talk/ +[#wesonlinux]: http://bitcannon.net/tags/wesonlinux/