X-Git-Url: http://git.dujemihanovic.xyz/?a=blobdiff_plain;f=layouts%2F_default%2Fbaseof.html;h=b3e08ca143fcea32bebd3551b5f5f5884a7f6507;hb=f249ee222bb2181a9fc5237f0cb353dba888b22c;hp=4d53567ec71b94b5d4625d4d57d56b4a5c6743ae;hpb=551e324b62fd8bb5a6f2d25e044f4992421f0335;p=dujemihanovic.xyz.git diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4d53567..b3e08ca 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,11 +1,13 @@ - + {{ 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