X-Git-Url: http://git.dujemihanovic.xyz/?a=blobdiff_plain;f=layouts%2F_default%2Fbaseof.html;h=b92c389441c1b2e25ef939b744538738d5bc0230;hb=5cfc9539918d2a66ff30413dae4325573b861de9;hp=110646b631400d728fcbe606e01c72b343872e52;hpb=24d07cba2e721c93828040a41a87f39241fffe4c;p=dujemihanovic.xyz.git diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 110646b..b92c389 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,9 +3,11 @@ {{ partial "meta.html" . }} {{ $style := resources.Get "css/style.css" | resources.Minify }} - - - + + {{ $index := $.Site.GetPage "/" }} + {{ range $index.AlternativeOutputFormats }} + {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} + {{ end }} @@ -26,9 +28,10 @@ {{ end }} {{ $image := resources.Get "img/rss.svg" }}

- - Link to RSS feed -

This site is free software

+ {{ with $index.OutputFormats.Get "RSS" }} + {{ printf `Link to RSS feed` .RelPermalink $image.RelPermalink | safeHTML }} + {{ end }} +

This site is free software