From: Duje Mihanović Date: Sat, 9 Sep 2023 16:17:07 +0000 (+0200) Subject: Add recent posts to homepage X-Git-Url: http://git.dujemihanovic.xyz/html/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/index.xml?a=commitdiff_plain;h=83710f57f69cce08f7eb726cb8c4a3c55f4819b7;p=dujemihanovic.xyz.git Add recent posts to homepage --- diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c461663..0fb29c9 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,13 +1,7 @@ - {{ 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 }} + {{ partial "head.html" . }} @@ -17,6 +11,7 @@ {{ end }}