mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 10:19:54 +00:00
Draft: built-with-cobalt
This commit is contained in:
parent
81aaaf2d1e
commit
3e42a9969d
1 changed files with 21 additions and 0 deletions
21
content/technical/2017/10/built-with-cobalt.md
Normal file
21
content/technical/2017/10/built-with-cobalt.md
Normal file
|
@ -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/
|
Loading…
Reference in a new issue