<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hugo on paapereira.xyz</title><link>https://paapereira.xyz/tags/hugo/</link><description>Recent content in Hugo on paapereira.xyz</description><generator>Hugo</generator><language>en-US</language><copyright>&lt;a href='https://creativecommons.org/licenses/by-nc/4.0/' target='_blank' rel='noopener'>©&lt;/a> 2008-2026 / &lt;a href='https://gitlab.com/paapereira/paapereira.gitlab.io' target='_blank' rel='noopener'>source code&lt;/a></copyright><lastBuildDate>Sat, 16 May 2026 21:30:00 +0100</lastBuildDate><atom:link href="https://paapereira.xyz/tags/hugo/index.xml" rel="self" type="application/rss+xml"/><item><title>New Hugo theme</title><link>https://paapereira.xyz/posts/2026/05/new-hugo-bear-theme/</link><pubDate>Sat, 16 May 2026 21:30:00 +0100</pubDate><guid>https://paapereira.xyz/posts/2026/05/new-hugo-bear-theme/</guid><description>&lt;p>I refreshed my website face with a new theme based on &lt;a href="https://bearblog.dev/">Bear Blog&lt;/a>.&lt;/p>
&lt;p>The theme, for &lt;a href="https://paapereira.xyz/tags/hugo">Hugo&lt;/a>, is the &lt;a href="https://github.com/janraasch/hugo-bearblog">hugo-bearblog&lt;/a> theme.&lt;/p>
&lt;h4 id="removing-the-older-theme">Removing the older theme&lt;/h4>
&lt;p>It seems there is a new and more robust way to manage themes today, by using Hugo Modules, which replaced the older method of cloning themes into the themes directory.&lt;/p>
&lt;p>So, I&amp;rsquo;m replacing the theme and the theming method.&lt;/p>
&lt;p>First of, we must removed the old theme. I was using the &lt;code>simple-list&lt;/code> theme.&lt;/p></description></item><item><title>Creating my own Hugo Simple List theme</title><link>https://paapereira.xyz/posts/2021/04/my-hugo-theme/</link><pubDate>Sun, 18 Apr 2021 13:56:33 +0100</pubDate><guid>https://paapereira.xyz/posts/2021/04/my-hugo-theme/</guid><description>&lt;p>I&amp;rsquo;ve been using the &lt;a href="https://github.com/panr/hugo-theme-terminal">terminal&lt;/a> theme, but I wanted to learn more about &lt;a href="https://gohugo.io/">Hugo&lt;/a> and how to create themes. Also I&amp;rsquo;ve been wanting to change to a more minimal theme.&lt;/p>
&lt;p>I came across the &lt;a href="https://github.com/goodroot/hugo-classic">hugo-classic&lt;/a> theme, and while trying to customize it I decided to give it a go, fork it, and make it my own. I also used the &lt;a href="https://github.com/panr/hugo-theme-terminal">terminal&lt;/a> theme as inspiration.&lt;/p>
&lt;p>This is my notes on how I did it and how it turned up. You can find my &lt;strong>Simple List&lt;/strong> theme on &lt;a href="https://gitlab.com/paapereira/hugo-theme-simple-list">GitLab&lt;/a>.&lt;/p></description></item><item><title>Setting up Hugo with GitLab</title><link>https://paapereira.xyz/posts/2020/04/setting-hugo-with-gitlab/</link><pubDate>Mon, 13 Apr 2020 20:19:55 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/04/setting-hugo-with-gitlab/</guid><description>&lt;h2 id="what-will-you-need">What will you need&lt;/h2>
&lt;ul>
&lt;li>A &lt;a href="https://gitlab.com/">GitLab&lt;/a> account&lt;/li>
&lt;li>&lt;a href="https://gohugo.io/">Hugo&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="creating-a-gitlab-page">Creating a GitLab Page&lt;/h2>
&lt;p>It is as easy as clone an example GitLab Page Hugo example as the base for your own blog or homepage.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>Go to &lt;a href="https://gitlab.com/pages/hugo">https://gitlab.com/pages/hugo&lt;/a> and fork the project to your GitLab account&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2020/2020-04-13-setting-hugo-with-gitlab/fork.png" alt="fork">&lt;/p>
&lt;/li>
&lt;li>
&lt;p>In your new repository, remove the fork relationship (Settings &amp;gt; General &amp;gt; Advanced &amp;gt; Remove fork relationship)&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2020/2020-04-13-setting-hugo-with-gitlab/remove-fork.png" alt="remove fork">&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Make sure your have the Shared Runners enabled (Settings &amp;gt; CI/CD &amp;gt; Runners)&lt;/p></description></item><item><title>New homepage and blog</title><link>https://paapereira.xyz/posts/2020/04/new-blog/</link><pubDate>Sun, 12 Apr 2020 19:01:21 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/04/new-blog/</guid><description>&lt;p>I&amp;rsquo;m moving my homepage/blog from blogspot to a Hugo/GitLab setup.&lt;/p>
&lt;p>In the following future a (manual) migration will slowly be taking place.&lt;/p></description></item></channel></rss>