<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Budiman Fajar Firdaus on Medium]]></title>
        <description><![CDATA[Stories by Budiman Fajar Firdaus on Medium]]></description>
        <link>https://medium.com/@budimanfajarf?source=rss-84343bc1f462------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*KeJFp-klmPtKXMui5dAT7Q.jpeg</url>
            <title>Stories by Budiman Fajar Firdaus on Medium</title>
            <link>https://medium.com/@budimanfajarf?source=rss-84343bc1f462------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 06:28:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@budimanfajarf/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Getting Errors Order Taxonomies when Deploy Hugo Site to Netlify]]></title>
            <link>https://medium.com/@budimanfajarf/getting-errors-order-taxonomies-when-deploy-hugo-site-to-netlify-712c53c54d31?source=rss-84343bc1f462------2</link>
            <guid isPermaLink="false">https://medium.com/p/712c53c54d31</guid>
            <category><![CDATA[netlify]]></category>
            <category><![CDATA[hugo]]></category>
            <dc:creator><![CDATA[Budiman Fajar Firdaus]]></dc:creator>
            <pubDate>Wed, 13 May 2020 00:59:20 GMT</pubDate>
            <atom:updated>2020-05-13T01:17:51.165Z</atom:updated>
            <content:encoded><![CDATA[<p>A few days ago I got errors when deploy <a href="https://budidev.com/">my blog</a> (Hugo site) to Netlify.</p><h4>Errors</h4><p>Here’s the pieces of errors:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0e62ae247fc27add99e0d59d83e4ccc5/href">https://medium.com/media/0e62ae247fc27add99e0d59d83e4ccc5/href</a></iframe><p>So, as usual, I open a new tab in the browser to find solutions on the internet, and then after a while, I found an article from the official Hugo website, here’s the link: <a href="https://gohugo.io/templates/taxonomy-templates/">Hugo taxonomy templates.</a></p><h4>Reason Errors</h4><p>After reading the article, I found the reason why I got errors when I deploy my site to Netlify, code below the reason why I getting the errors:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/aa7ed94a06c7c138fffe4db5dc3db2fc/href">https://medium.com/media/aa7ed94a06c7c138fffe4db5dc3db2fc/href</a></iframe><p>Order Taxonomies with the approach above is <strong>only available in Hugo 0.55 and later.</strong></p><p>Before the version 0.55 you would have to do something like:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/865739205171cbec9b2b6f1b1dad05c4/href">https://medium.com/media/865739205171cbec9b2b6f1b1dad05c4/href</a></iframe><p>So, my conclusion is that the <strong>Hugo version on Netlify less than 0.55, while my local version is 0.69.2</strong>, and the first code approach above only available in Hugo 0.55 and later. That’s why I got the errors.</p><h4>Solutions</h4><p>Then what are the solutions? If you have the same errors or similar like I got, you can try 2 options.</p><p>First you can change code like second code approach above, so that can runs on Hugo version you running on Netlify.</p><p>Or you can do like what I do</p><p>Instead change the code, I prefer to add a new file to my site, the file is netlify.toml. This file can <strong>set Hugo version</strong> and other settings for your environments in Netlify.</p><p>When I deploy my Hugo site to Netlify on the first time I don’t create, but everything works fine until I customize the layouts theme site to add a list of terms taxonomies tags and then got the errors.</p><p>Because that errors, I decided to add netlify.toml to <strong>ensure Hugo version</strong> in Netlify has the same version with my local machine, so that it can <strong>reduce similar errors in the future</strong> because different Hugo versions.</p><p>Here’s code in my netlify.toml file:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/83f6379af279d789cfd180cfd8e3d2a0/href">https://medium.com/media/83f6379af279d789cfd180cfd8e3d2a0/href</a></iframe><p>Save netlify.toml file into your root directory Hugo site, and then push + re-deploy into Netlify, if everything works fine the errors should be gone and you can preview your site before publishing.</p><p>You can see the newest example on official Hugo website: <a href="https://gohugo.io/hosting-and-deployment/hosting-on-netlify/#configure-hugo-version-in-netlify">Configure Hugo version in Netlify</a>.</p><blockquote>That’s all, hope this helps you :)</blockquote><p>This article was published on my personal blog: <a href="https://budidev.com/2020/04/getting-errors-order-taxonomies-when-deploy-hugo-site-to-netlify/">https://budidev.com/2020/04/getting-errors-order-taxonomies-when-deploy-hugo-site-to-netlify/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=712c53c54d31" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>