X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Fhead.html;h=477d46379c7e0980ebb822fffb40d914e9e2130d;hb=c2a879c337eb073ffb711e52c9e3abb537c2ad01;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=dab7cde1ed21d5344bfc8e1d279e2f117b74ffef;p=theme-danix.xyz.git diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e69de29..477d463 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -0,0 +1,29 @@ + + + + + + {{ $main_style := resources.Get "sass/main.scss" | resources.toCSS }} + + + + + {{ partial "funcs/favicon.html" . }} + + + {{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + {{ $title := print .Site.Title " ⋇ " .Title }} + {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} + {{ $title }} + + {{ template "_internal/opengraph.html" . }} + {{ template "_internal/schema.html" . }} + {{ template "_internal/twitter_cards.html" . }} + + {{- partial "head-addition.html" . -}} + +