<!doctype html>
<html lang="en">
<head>
- {{ partial "meta.html" . }}
- {{ $style := resources.Get "css/style.css" | resources.Minify }}
- <link rel="stylesheet" href="{{ $style.RelPermalink }}?v=1.1.0">
- <!-- I'm a brainlet and don't know how to properly fetch another page's feed. If you know, please tell me. -->
- <link rel="alternate" type="application/rss+xml" href="{{ $.Site.BaseURL }}posts/index.xml" title="Blog | Duje Mihanović's Site">
+ {{ partial "head.html" . }}
</head>
<body>
{{ block "main" . }}
{{ end }}
</main>
- <br>
<footer>
- <center>
- <p>If you appreciate my work and would like to donate, you can donate XMR to this address or use the QR code below.</p>
- <code>85qXBHh99bJ62p7s8upmoqYsvHrJvZWLTD7riHFo3E2jRvdQRoiNuXKRaDMAQiJ34Kfix3KHouNCW6bbD4zniWB5QxZR9Xx</code>
- <p></p>
- {{ $image := resources.Get "img/donate.png" }}
- {{ with $image }}
- <img src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}" alt="QR code for XMR donation">
+ {{ $index := $.Site.GetPage "/" }}
+ {{ with $index.OutputFormats.Get "RSS" }}
+ <p><a href="{{ .RelPermalink }}">RSS feed</a> | This site is <a href="http://git.dujemihanovic.xyz/?p=dujemihanovic.xyz.git;a=summary">free software</a></p>
{{ end }}
- {{ $image := resources.Get "img/rss.svg" }}
- <p></p>
- <!-- See comment above. -->
- <a href="{{ $.Site.BaseURL }}posts/index.xml"><img src="{{ $image.RelPermalink }}" width="32" height="32" alt="Link to RSS feed"></a>
- <p>This site is <a href="https://git.dujemihanovic.xyz/?p=dujemihanovic.xyz.git;a=summary">free software</a></p>
- </center>
</footer>
</body>
</html>