theme-blog-ewen/layouts/partials/head.html

33 lines
1 KiB
HTML
Raw Normal View History

2023-12-15 16:26:57 +00:00
<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 }}
2023-12-19 09:05:29 +00:00
<link href="{{ "/index.xml" | absLangURL }}" rel="alternate" type="application/rss+xml"
2023-12-15 16:26:57 +00:00
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>