X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20.RelPermalink%20%7D%7D?a=blobdiff_plain;f=layouts%2F_default%2Fbaseof.html;h=b3e08ca143fcea32bebd3551b5f5f5884a7f6507;hb=47271c2024db44efc65ed4aba596df50b9b2b1c2;hp=1d66fe7f3b15bc0fbf05d65212a6115753151db8;hpb=5440d735b27a90907df9ecd72fdc389d621640a0;p=dujemihanovic.xyz.git diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 1d66fe7..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" }} - -This site is free software
+ {{ with $index.OutputFormats.Get "RSS" }}
+ {{ printf `` .RelPermalink $image.RelPermalink | safeHTML }}
+ {{ end }}
+
This site is free software