<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Planetgo on Janusworx</title><link>https://janusworx.com/tags/planetgo/</link><description>Recent content in Planetgo on Janusworx</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>feedback@janusworx.com (Mario Jason Braganza)</managingEditor><webMaster>feedback@janusworx.com (Mario Jason Braganza)</webMaster><copyright>© 2026, Mario Jason Braganza</copyright><lastBuildDate>Fri, 13 May 2022 20:00:00 +0530</lastBuildDate><atom:link href="https://janusworx.com/tags/planetgo/index.xml" rel="self" type="application/rss+xml"/><item><title>All About the Move to Hugo</title><link>https://janusworx.com/work/all-about-the-move-to-hugo/</link><pubDate>Fri, 13 May 2022 20:00:00 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/all-about-the-move-to-hugo/</guid><description>&lt;p&gt;I &lt;em&gt;finally&lt;/em&gt; got done, moving the blog from Nikola to Hugo today.&lt;br&gt;
I already wrote about &lt;a href="https://janusworx.com/blog/begin-again/" &gt;why&lt;/a&gt; I did it.&lt;br&gt;
These are a few more thoughts about what went into the endeavour; and some colophonesque details.&lt;/p&gt;
&lt;p&gt;One, really small hope, is that it will help me learn &lt;a href="https://go.dev/doc/" target="_blank" rel="noreferrer"&gt;Go.&lt;/a&gt;&lt;br&gt;
The DevOps world that I now seek to enter, speaks Go.&lt;br&gt;
I also, now run two Go programs that are indispensible to me, &lt;a href="https://gohugo.io/" target="_blank" rel="noreferrer"&gt;Hugo&lt;/a&gt; and &lt;a href="https://miniflux.app/" target="_blank" rel="noreferrer"&gt;Miniflux&lt;/a&gt;.&lt;br&gt;
And being the control freak, that I am, I’d love to tweak them to &lt;em&gt;just&lt;/em&gt; how I like it.&lt;br&gt;
Nikola did help learn me Python, after all.&lt;/p&gt;
&lt;p&gt;Speaking of Nikola, I’ve used it for close to &lt;a href="https://janusworx.com/blog//happy-with-the-new-shiny" target="_blank" rel="noreferrer"&gt;four years now&lt;/a&gt;, until I moved.&lt;br&gt;
I was a refugee from a self hosted Ghost install. &lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;br&gt;
I love it to death.&lt;br&gt;
It’s done all I’ve asked of it … and more.&lt;br&gt;
And it’s been fast and stable all these years.&lt;br&gt;
The community (primarily Chris) have been kind and patient and really helpful.&lt;br&gt;
&lt;a href="https://github.com/getnikola" target="_blank" rel="noreferrer"&gt;Chris and Roberto and the rest of the gang&lt;/a&gt;, have built something rugged and enduring.&lt;/p&gt;
&lt;p&gt;So other than having something fun to do while I was down in the dumps, why did I move to Hugo?&lt;br&gt;
I like to learn by reading.&lt;br&gt;
So other than practicing Go, the best way to learn it would be to read code.&lt;br&gt;
And what better place to read code, than that of the tool I use to write? &lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;Another point, is that I probably outgrew what Nikola gave me out of the box, and customizing it (and learning how to) was something that I just couldn’t quite wrap my head around.&lt;br&gt;
While Hugo is probably the same way and its documentation is not quite as structured as Nikola’s, it &lt;em&gt;is&lt;/em&gt; pretty popular and I can get answers to what I want to do, really, really quickly. &lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;br&gt;
And Hugo has an &lt;a href="https://www.manning.com/books/hugo-in-action" target="_blank" rel="noreferrer"&gt;awesome book&lt;/a&gt;, to learn from.&lt;/p&gt;
&lt;p&gt;So, how did the move go?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I wrote a tiny bespoke Python script, &lt;sup id="fnref:4"&gt;&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref"&gt;4&lt;/a&gt;&lt;/sup&gt; to convert all my Nikola front matter to Hugo front matter.&lt;/li&gt;
&lt;li&gt;That took me half a day, but it converted 677 posts, that I was dreading, I’d have to do by hand and would take me &lt;em&gt;weeks.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;I wrote another bespoke script to convert some gnarly tags that Hugo choked on.&lt;/li&gt;
&lt;li&gt;And just like that, my biggest boulder just fell into place.&lt;/li&gt;
&lt;li&gt;That left me free to write a couple of what Hugo calls, &lt;a href="https://gohugo.io/content-management/shortcodes/#what-a-shortcode-is" target="_blank" rel="noreferrer"&gt;Shortcodes&lt;/a&gt;, to ease my writing.&lt;/li&gt;
&lt;li&gt;I started with shortcode (a custom horizontal rule) and ended up with &lt;em&gt;four!&lt;/em&gt; &lt;sup id="fnref:5"&gt;&lt;a href="#fn:5" class="footnote-ref" role="doc-noteref"&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;I customised the base as well as the theme’s config to make the site look like I wanted it; &lt;a href="https://github.com/adityatelange/hugo-PaperMod/wiki/Installation#sample-configyml" target="_blank" rel="noreferrer"&gt;&lt;em&gt;(from its various options.)&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;And I added some custom CSS, to have custom horizontal rule and footnote styles, change the look of the links in the menu up top, style my subscribe form, and&lt;/li&gt;
&lt;li&gt;Included the &lt;em&gt;&lt;strong&gt;beautiful&lt;/strong&gt;&lt;/em&gt; font you are reading this in.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In a word, slow, steady, iterative progress until I was done.&lt;/p&gt;
&lt;p&gt;And who and what inspired me and who do I owe gratitude to?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.psaggu.com/" target="_blank" rel="noreferrer"&gt;Priyanka Saggu&lt;/a&gt;, for egging me on to do this project.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://geeksocket.in/" target="_blank" rel="noreferrer"&gt;Bhavin Gandhi&lt;/a&gt; turned me onto the awesomeness that was Hugo.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pradyunsg.me/" target="_blank" rel="noreferrer"&gt;Pradyun Gedam&lt;/a&gt; for making me green with envy, with his minimalistic blog and the thoughtful touches he made. &lt;sup id="fnref:6"&gt;&lt;a href="#fn:6" class="footnote-ref" role="doc-noteref"&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://navendu.me/" target="_blank" rel="noreferrer"&gt;Navendu Pottekkat&lt;/a&gt;, &lt;a href="https://github.com/navendu-pottekkat/navendu-pottekkat.github.io" target="_blank" rel="noreferrer"&gt;whose code&lt;/a&gt;, &lt;del&gt;I stole&lt;/del&gt; helped me style my subscribe page.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://bep.is/en/" target="_blank" rel="noreferrer"&gt;Bjørn Erik Pedersen&lt;/a&gt; and &lt;a href="https://spf13.com/" target="_blank" rel="noreferrer"&gt;Steve Francia&lt;/a&gt; and the rest of the gang, for making Hugo&lt;/li&gt;
&lt;li&gt;&lt;a href="https://adityatelange.in/" target="_blank" rel="noreferrer"&gt;Aditya Telange&lt;/a&gt;, for the making the pretty, pretty, little &lt;a href="https://adityatelange.github.io/hugo-PaperMod/" target="_blank" rel="noreferrer"&gt;PaperMod theme.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://kushaldas.in/" target="_blank" rel="noreferrer"&gt;Kushal Das&lt;/a&gt;, for sharing my love of typography and beating me to a custom font on his website.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://matthewbutterick.com/" target="_blank" rel="noreferrer"&gt;Matthew Butterick&lt;/a&gt;, for the gorgeousness, that is &lt;a href="https://mbtype.com/fonts/valkyrie/sample.html" target="_blank" rel="noreferrer"&gt;Valkyrie&lt;/a&gt;. The site originally used the beautiful &lt;a href="https://tug.org/FontCatalogue/charterbt/" target="_blank" rel="noreferrer"&gt;Charter&lt;/a&gt;, but while it looked fetching on Windows and MacOS, it would not render as nicely on Linux machines. &lt;sup id="fnref:7"&gt;&lt;a href="#fn:7" class="footnote-ref" role="doc-noteref"&gt;7&lt;/a&gt;&lt;/sup&gt;&lt;br&gt;
With Valkyrie, that no longer is the case. I have something beautiful to look at, all day! &lt;sup id="fnref:8"&gt;&lt;a href="#fn:8" class="footnote-ref" role="doc-noteref"&gt;8&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.ratz.com/" target="_blank" rel="noreferrer"&gt;Robin Williams&lt;/a&gt;, for teaching me all about &lt;a href="https://creativemarket.com/blog/how-crap-will-make-you-a-better-designer" target="_blank" rel="noreferrer"&gt;CRAP&lt;/a&gt; and everthing I know about type and design.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;They decided to move their editor away from being purely Markdown. I get why they did it. But it just wasn’t for me. I wanted something simple.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;sorta kinda, like learning about cars, by looking under the hood of your own car, &lt;a href="https://youtu.be/KBnNgI1Icu4" target="_blank" rel="noreferrer"&gt;like in the old days&lt;/a&gt;&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;even with something as weird and esoteric as the site refusing to build, because of &lt;a href="https://github.com/gohugoio/hugo/issues/6526#issuecomment-578579949" target="_blank" rel="noreferrer"&gt;emacs crapping in the content folder&lt;/a&gt;&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:4"&gt;
&lt;p&gt;related post coming later …&amp;#160;&lt;a href="#fnref:4" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:5"&gt;
&lt;p&gt;the aforementioned horizontal rule, two to center images and captions and one for my subscription ask at the bottom of the post.&amp;#160;&lt;a href="#fnref:5" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:6"&gt;
&lt;p&gt;Nearly everything I did here, I cribbed from his &lt;a href="https://github.com/pradyunsg/pradyunsg.github.io/blob/main/config.toml" target="_blank" rel="noreferrer"&gt;blog config&lt;/a&gt;&amp;#160;&lt;a href="#fnref:6" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:7"&gt;
&lt;p&gt;which ofcourse, is where I spend my entire day.&amp;#160;&lt;a href="#fnref:7" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:8"&gt;
&lt;p&gt;I was hesitant to plonk down the money for Valkyrie. But I forgot all about that, once I saw my words rendered in the font. So, I am chalking this down to an investment. Besides Matthew’s prices are value for money (I’m just a little broke at the moment, hence the quibbling) and his usage license is generous.&amp;#160;&lt;a href="#fnref:8" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>I Have Now Begun Learning Go!</title><link>https://janusworx.com/work/i-have-now-begun-learning-go/</link><pubDate>Wed, 20 Apr 2022 15:10:29 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/i-have-now-begun-learning-go/</guid><description>&lt;p&gt;That’s just it for now :)
Am learning Go!&lt;/p&gt;</description></item></channel></rss>