<?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 Ricky Moorhouse</title><link>https://rickymoorhouse.uk/tags/hugo/</link><description>Recent content in Hugo on Ricky Moorhouse</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Sun, 18 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://rickymoorhouse.uk/tags/hugo/index.xml" rel="self" type="application/rss+xml"/><item><title>Adding SocialSpec to my site</title><link>https://rickymoorhouse.uk/blog/2026/adding-socialspec-to-my-site/</link><pubDate>Sun, 18 Oct 2026 00:00:00 +0000</pubDate><guid>https://rickymoorhouse.uk/blog/2026/adding-socialspec-to-my-site/</guid><description>&lt;p&gt;On Tuesday, Caleb Hailey &lt;a href="https://calebhailey.com/links/socialspec/"&gt;announced&lt;/a&gt; &lt;a href="https://socialspec.org"&gt;SocialSpec&lt;/a&gt; around the premise that the future of social media is websites. This maps out a consistent way to expose key social data (about, contact, following) from your website based around existing standards and ways things are typically done already. This makes it very easy to adopt and add to an existing website - for me this meant the following:&lt;/p&gt;
&lt;h2 id="start-with-a-feed"&gt;Start with a feed&lt;/h2&gt;
&lt;p&gt;I'd previously ended up with my feeds available at multiple URLs so this was an opportunity to clean things up. Rather than just copying what I had to the feed.xml and feed.json locations and add more complexity, I decided to make these the definitive sources for my feed and redirected the old URLs to them through edge rules. To get &lt;a href="https://gohugo.io"&gt;Hugo&lt;/a&gt; to create an RSS feed in another location to the default index.xml (which I'd never liked), I created a custom output format &lt;a href="https://github.com/rickymoorhouse/blog/blob/main/themes/2026/layouts/home.feedxml.xml"&gt;for RSS&lt;/a&gt; and referenced this in the config. I already had a custom output format for jsonfeed as Hugo doesn't have that built in. My custom output references my adapted rss.xml, but you could just point to the built-in one. The config.yaml looks like this:&lt;/p&gt;</description></item></channel></rss>