fediversity_website/themes/nluug/layouts/partials/head.html

22 lines
1.1 KiB
HTML
Raw Normal View History

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ if eq .IsHome true }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title>
<meta name="description" content="{{ if ne .Description "" }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
<!-- Social media -->
{{ partial "opengraph/opengraph.html" . }}
{{ partial "opengraph/twitter_cards.html" . }}
2023-11-29 11:19:08 +01:00
{{ if .Site.Params.mastodon_instance }}
<link rel="me" href="{{ .Site.Params.mastodon_instance }}@{{ .Site.Params.mastodon_handle }}">
{{ end }}
<link rel="canonical" href="{{ .Permalink }}">
<link rel="icon" href="{{ absURL "assets/favicon.ico" }}">
<link rel="alternate" type="application/atom+xml" title="{{ .Site.Title }}" href="{{ absURL "atom.xml" }}">
<link rel="alternate" type="application/json" title="{{ .Site.Title }}" href="{{ absURL "feed.json" }}">
{{ partialCached "style.html" . }}
<!-- Schema.org opmaak -->
{{ partial "schemas/include-relevant-schemas.html" . }}
</head>