theme-blog-ewen/layouts/partials/header.html
2020-12-10 16:13:38 +01:00

36 lines
972 B
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" {{ with .Site.LanguageCode }} lang="{{ . }}"{{ end }}>
<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 }}
{{ if .Site.Params.Info.enableSocial }}
<!-- Social here. -->
{{ end }}
{{ 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/style.css" | relURL }}"/>
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="canonical" href="{{ .Permalink }}">
</head>
{{ if .Site.Params.matomoAnalytics }}
{{- partial "matomo" . -}}
{{ end }}
<body>