theme-blog-ewen/layouts/partials/head.html
2022-02-22 20:21:32 +01:00

33 lines
1 KiB
HTML

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
{{ if eq .IsHome false }}
<title>{{ .Title }} | {{ .Site.Title }}</title>
{{ else }}
<title>{{ .Site.Title }}</title>
{{ end }}
{{ hugo.Generator }}
{{ if .Site.Params.rss }}
<link href="{{ " /index.xml" | absLangURL }}" rel="alternate" type="application/rss+xml"
title="{{ .Site.Title }}" />
{{ end }}
{{ template "_internal/opengraph.html" . }}
<!--<link rel="stylesheet" href="{{ "css/bootstrap.min.css" | absURL }}" />-->
<link rel="stylesheet" href="{{ "css/fontawesome.all.min.css" | absURL }}" />
{{ $styles := resources.Get "scss/style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen" />
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="canonical" href="{{ .Permalink }}">
{{ if .Site.Params.matomoAnalytics }}
{{- partial "matomo" . -}}
{{ end }}
</head>