- <!-- See comment above. -->
- <a href="{{ $.Site.BaseURL }}posts/index.xml"><img src="{{ $image.RelPermalink }}" width="32px" height="32px" alt="Link to RSS feed"></a>
- <p>This site is <a href="https://git.dujemihanovic.xyz/duje/dujemihanovic.xyz">free software</a></p>
+ {{ with $index.OutputFormats.Get "RSS" }}
+ {{ printf `<a href="%s"><img src="%s" width="32" height="32" alt="Link to RSS feed"></a>` .RelPermalink $image.RelPermalink | safeHTML }}
+ {{ end }}
+ <p>This site is <a href="https://git.dujemihanovic.xyz/?p=dujemihanovic.xyz.git;a=summary">free software</a></p>