<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Oxhugo on mituuz</title>
    <link>https://mituuz.com/tags/oxhugo/</link>
    <description>Recent content in Oxhugo on mituuz</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 14 Apr 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://mituuz.com/tags/oxhugo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Hugo support for Doom Emacs</title>
      <link>https://mituuz.com/posts/2026-04-14_ox-hugo/</link>
      <pubDate>Tue, 14 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://mituuz.com/posts/2026-04-14_ox-hugo/</guid>
      <description>&lt;p&gt;Couldn&amp;rsquo;t find a working setup guide quickly, so decided to note this down.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/kaushalmodi/ox-hugo&#34;&gt;ox-hugo&lt;/a&gt; is an org exporter for &lt;a href=&#34;https://github.com/gohugoio/hugo&#34;&gt;Hugo&lt;/a&gt;. Here&amp;rsquo;s how to setup and export a subtree&#xA;using &lt;a href=&#34;https://github.com/doomemacs/doomemacs&#34;&gt;Doom Emacs&lt;/a&gt; 2.1.0.&lt;/p&gt;&#xA;&lt;h2 id=&#34;enabling-ox-hugo-for-doom-emacs&#34;&gt;Enabling ox-hugo for doom emacs&lt;/h2&gt;&#xA;&lt;p&gt;Seems like doom&amp;rsquo;s &lt;code&gt;init.el&lt;/code&gt; once supported ox-hugo with &lt;code&gt;lang:(org +hugo)&lt;/code&gt;,&#xA;but that doesn&amp;rsquo;t seem to the case anymore.&lt;/p&gt;&#xA;&lt;p&gt;Doom creates the following files. I enabled ox-hugo with these additions.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-elisp&#34; data-lang=&#34;elisp&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;;; packages.el&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;(package! ox-hugo)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;;; config.el&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;(after! ox&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  (require &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;ox-hugo&lt;/span&gt;))&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then ran &lt;code&gt;doom sync&lt;/code&gt; to finish setup.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
