49 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
<head>
 | 
						|
    <meta charset="UTF-8">
 | 
						|
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
						|
    <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
						|
    {{ block "title" . }}
 | 
						|
    <title>
 | 
						|
        {{ if .IsHome }}
 | 
						|
            {{ $.Site.Title }}
 | 
						|
        {{ else }}
 | 
						|
            {{ .Title }} — {{ $.Site.Title }}
 | 
						|
        {{ end }}
 | 
						|
    </title>
 | 
						|
    {{ end }}
 | 
						|
    <meta name="author" content="{{ $.Site.Params.author }}">
 | 
						|
    <meta name="description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}" />
 | 
						|
    <link rel="canonical" href="{{ .Permalink }}" />
 | 
						|
    <link rel="me" href="{{ $.Site.Params.contact.fediverse }}">
 | 
						|
    <link rel="me" href="{{ $.Site.Params.contact.email }}">
 | 
						|
    <link rel="pgpkey" href="/{{ $.Site.Params.contact.pgp }}">
 | 
						|
    <meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett{{ range .Site.Params.clacks }}, {{ . }}{{end}}" />
 | 
						|
 | 
						|
    <!-- Social: Twitter -->
 | 
						|
    <meta name="twitter:card" content="summary_large_image" />
 | 
						|
    <meta name="twitter:title" content="{{ if .IsHome }}{{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ else }}{{ .Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ end }}" />
 | 
						|
    <meta name="twitter:description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}"/>
 | 
						|
    <meta name="twitter:image" content="{{ if .IsHome }}{{ .Site.Params.cover }}{{ else }}{{ .Params.Cover }}{{ end }}" />
 | 
						|
 | 
						|
    <!-- Social: OpenGraph -->
 | 
						|
    <meta property="og:locale" content="en_GB">
 | 
						|
    <meta property="og:type" content="article">
 | 
						|
    <meta property="og:title" content="{{ .Title }}">
 | 
						|
    <meta property="og:description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Description}}{{end}}">
 | 
						|
    <meta property="og:url" content="{{ .Permalink }}">
 | 
						|
    <meta property="og:site_name" content="{{ $.Site.Title }}">
 | 
						|
    <meta property="og:image" content="{{ if .IsHome }}{{ .Site.Params.cover }}{{ else }}{{ .Params.Cover }}{{ end }}" />
 | 
						|
 | 
						|
    <!-- Styles -->
 | 
						|
    {{ $options := (dict "outputStyle" "compressed" "enableSourceMap" true) }}
 | 
						|
    {{ $scss := resources.Get "scss/imports.scss" }}
 | 
						|
    {{ $style := $scss | resources.ToCSS $options }}
 | 
						|
    <link rel="preload" href="{{ $style.RelPermalink }}?{{ now.Unix }}" as="style">
 | 
						|
    <link rel="stylesheet" href="{{ $style.RelPermalink }}?{{ now.Unix }}">
 | 
						|
 | 
						|
    {{ partialCached "favicons.html" . }}
 | 
						|
 | 
						|
    <!-- Self-hosted analytics -->
 | 
						|
    <script async defer data-website-id="a790c0da-a30d-4224-909a-0ac50eaad3b6" data-do-not-track="true" src="https://umami.secluded.site/script.js"></script>
 | 
						|
</head>
 |