<?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 Janik von Rotz</title>
    <link>https://janikvonrotz.ch/tags/hugo/</link>
    <description>Recent content in Hugo on Janik von Rotz</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 16 Apr 2026 16:26:20 +0200</lastBuildDate>
    <atom:link href="https://janikvonrotz.ch/tags/hugo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Mastodon creator tag for your blog posts</title>
      <link>https://janikvonrotz.ch/2026/04/16/mastodon-creator-tag-for-your-blog-posts/</link>
      <pubDate>Thu, 16 Apr 2026 16:26:20 +0200</pubDate>
      <guid>https://janikvonrotz.ch/2026/04/16/mastodon-creator-tag-for-your-blog-posts/</guid>
      <description>&lt;p&gt;This blog post was created using Hugo and the &lt;a href=&#34;https://codeberg.org/janikvonrotz/hugo-new-css-theme&#34;&gt;new.css theme&lt;/a&gt; that I am developing. When sharing posts on Mastodon, you get a nice preview for links. This is possible by adding &lt;a href=&#34;https://web.dev/learn/html/metadata#open_graph&#34;&gt;OpenGraph meta tags&lt;/a&gt; to the html document. In Mastodon you also have the creator tag.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Hugo Soundcloud shortcode</title>
      <link>https://janikvonrotz.ch/2018/07/09/hugo-soundcloud-shortcode/</link>
      <pubDate>Mon, 09 Jul 2018 16:52:17 +0200</pubDate>
      <guid>https://janikvonrotz.ch/2018/07/09/hugo-soundcloud-shortcode/</guid>
      <description>&lt;p&gt;The Hugo templating system is very flexible. Even when markdown falls short you can add simple snippets inside the content files. Hugo created &lt;a href=&#34;https://gohugo.io/content-management/shortcodes/&#34;&gt;shortcodes&lt;/a&gt; to circumvent the limitations. For my blog I have create a custom shortcode for embeding Soundcloud playlists into my markdown posts. Creating custom shortcodes is very easy. I will show you how it is done and moreover provide a tool to convert existing Soundcloud set urls into the custom Soundcloud shortcode.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Another Wordpress to Hugo migration</title>
      <link>https://janikvonrotz.ch/2018/07/08/another-wordpress-to-hugo-migration/</link>
      <pubDate>Sun, 08 Jul 2018 09:11:28 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2018/07/08/another-wordpress-to-hugo-migration/</guid>
      <description>&lt;p&gt;Using Wordpress to run this blog has become an overkill. It was time to change. Static site generators, no database content management systems and JavaScript based tools make Wordpress an deprecated blogging platform. I had the idea of moving away from Wordpress for a while and decided to take a chance two weeks ago. This post is about the migration process and the design decisions made in preparation of the migration.&lt;/p&gt;&#xA;&lt;p&gt;From the title you can tell that I chose Hugo as my next CMS, but why Hugo? First of all, I only have had a look at Jekyll and Hugo. Jekyll is written in ruby and Hugo in go. To make it short and simple, Hugo does whatever Jekyll does, but based on newer technologies and a lot faster. And also remember it doesn&amp;rsquo;t really matter. Both Hugo and Jekyll use markdown files and have almost the same format to store posts and data. So no big difference except speed.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
