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

34 lines
1 KiB
HTML
Raw Permalink Normal View History

2023-12-15 16:26:57 +00:00
<head>
2024-05-08 08:02:01 +00:00
<meta charset="utf-8" />
2023-12-15 16:26:57 +00:00
<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 }}
2024-05-08 08:02:01 +00:00
</head>