<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Posts on blog.annx.nl</title>
		<link>https://blog.annx.nl/posts/</link>
		<description>Recent content in Posts on blog.annx.nl</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sun, 27 Sep 2026 11:16:51 +0200</lastBuildDate>
		
			<atom:link href="https://blog.annx.nl/posts/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>How to render external links with Hugo</title>
				<link>https://blog.annx.nl/posts/hugo-external-links/</link>
				<pubDate>Sun, 27 Sep 2026 11:16:51 +0200</pubDate>
				<guid>https://blog.annx.nl/posts/hugo-external-links/</guid>
				<description>&lt;h1 id=&#34;link-render-hook&#34;&gt;Link render hook&lt;/h1&gt;&#xA;&lt;p&gt;By default Hugo renders links without &lt;code&gt;target=&amp;quot;_blank&amp;quot;&lt;/code&gt; and consequently external links do not open in a new browser tab. That&amp;rsquo;s not what I want. Fortunately there&amp;rsquo;s an easy way to fix this: create a link render hook.&lt;/p&gt;&#xA;&#xA;&#xA;&lt;div class=&#34;codeblock&#34;&gt;&#xA;  &#xA;  &lt;div class=&#34;codeblock-file&#34;&gt;&#xA;    layouts/_default/_markup/render-link.html&#xA;  &lt;/div&gt;&#xA;  &#xA;  &lt;div class=&#34;highlight&#34; file=&#34;layouts/_default/_markup/render-link.html&#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;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-go-html-template&#34; data-lang=&#34;go-html-template&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&lt;/span&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;{{-&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;$u&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;urls&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;.Parse&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;.Destination&lt;/span&gt; &lt;span style=&#34;color:#75715e&#34;&gt;-}}&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;2&lt;/span&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;a&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;href&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;{{&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;.Destination&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;|&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;safeURL&lt;/span&gt; &lt;span style=&#34;color:#75715e&#34;&gt;}}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;3&lt;/span&gt;&lt;span&gt;  &lt;span style=&#34;color:#75715e&#34;&gt;{{-&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;with&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;.Title&lt;/span&gt; &lt;span style=&#34;color:#75715e&#34;&gt;}}&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;title&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;{{&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;.&lt;/span&gt; &lt;span style=&#34;color:#75715e&#34;&gt;}}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;{{&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;end&lt;/span&gt; &lt;span style=&#34;color:#75715e&#34;&gt;-}}&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;4&lt;/span&gt;&lt;span&gt;  &lt;span style=&#34;color:#75715e&#34;&gt;{{-&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;$u&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;.IsAbs&lt;/span&gt; &lt;span style=&#34;color:#75715e&#34;&gt;}}&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;target&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;_blank&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;{{&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;end&lt;/span&gt; &lt;span style=&#34;color:#75715e&#34;&gt;-}}&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;5&lt;/span&gt;&lt;span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;6&lt;/span&gt;&lt;span&gt;  &lt;span style=&#34;color:#75715e&#34;&gt;{{-&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;with&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;.Text&lt;/span&gt; &lt;span style=&#34;color:#75715e&#34;&gt;}}{{&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;.&lt;/span&gt; &lt;span style=&#34;color:#75715e&#34;&gt;}}{{&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;end&lt;/span&gt; &lt;span style=&#34;color:#75715e&#34;&gt;-}}&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;7&lt;/span&gt;&lt;span&gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;a&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;8&lt;/span&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;{{- /* chomp trailing newline */ -}}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;From now on external links should open in a new browser tab.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Hugo is awesome</title>
				<link>https://blog.annx.nl/posts/hugo-is-awesome/</link>
				<pubDate>Sun, 27 Sep 2026 11:06:33 +0200</pubDate>
				<guid>https://blog.annx.nl/posts/hugo-is-awesome/</guid>
				<description>&lt;h1 id=&#34;wysiwyg&#34;&gt;Wysiwyg&lt;/h1&gt;&#xA;&lt;p&gt;For a DIY girl like me, Hugo is awesome. &lt;a href=&#34;https://gohugo.io&#34; target=&#34;_blank&#34;&gt;Hugo&lt;/a&gt; is a static website generator that gives you complete control over its output &amp;mdash; right from the command line. What more could a girl wish for?&lt;/p&gt;&#xA;&lt;p&gt;Even better, you can use your favorite text editor to write new content or tweak your theme. While I love the command line, I do understand the appeal of wysiwyg: it&amp;rsquo;s nice to be able see what your content will look before publishing it online. But do you really need a full-blown content management system with all the bells and whistles for that? Nope, actually you don&amp;rsquo;t. Hugo can help you out just as easily!&lt;/p&gt;</description>
			</item>
			<item>
				<title>Hello World!</title>
				<link>https://blog.annx.nl/posts/hello-world/</link>
				<pubDate>Sun, 27 Sep 2026 10:42:25 +0200</pubDate>
				<guid>https://blog.annx.nl/posts/hello-world/</guid>
				<description>&lt;h1 id=&#34;hi-there&#34;&gt;Hi there!&lt;/h1&gt;&#xA;&lt;p&gt;You’ve stumbled upon my quiet spot online. Probably you ended up here while figuring something out.&lt;/p&gt;&#xA;&lt;p&gt;I’m Anne (she/her), a DIY geek kind of girl living in the wonderful city of Amsterdam. Some time ago, just curious, I started building my own private server from collected scrap parts. I wanted to understand how the internet actually works. So I got myself a domain name and figured out how to set up and manage my own mail server on Linux.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
