]> git.dujemihanovic.xyz Git - dujemihanovic.xyz.git/blobdiff - layouts/_default/baseof.html
Add recent posts to homepage
[dujemihanovic.xyz.git] / layouts / _default / baseof.html
index c4616632466d6053a38a82904e2a87a520ce1285..0fb29c917a4f5bba4ed3e972fddc2f90333c2e48 100644 (file)
@@ -1,13 +1,7 @@
 <!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.2">
-               {{ $index := $.Site.GetPage "/" }}
-               {{ range $index.AlternativeOutputFormats }}
-               {{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
-               {{ end }}
+               {{ partial "head.html" . }}
        </head>
 
        <body>
@@ -17,6 +11,7 @@
                        {{ end }}
                </main>
                <footer>
+                       {{ $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 }}