2023-05-05 16:36:10 +02:00
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< meta name = "author" content = "Liste - {{ .Site.BaseURL }}" >
< 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 } } " >
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/schema.html" . }}
2023-05-12 17:13:00 +02:00
< meta name = "twitter:card" content = "summary" >
< meta name = "twitter:site" content = "@nluug" >
< meta name = "twitter:creater" content = "@nluug" >
< meta name = "twitter:description" content = "{{ if ne .Description " " } } { { . Description } } { { else } } { { . Site . Params . description } } { { end } } " >
2023-05-12 16:53:20 +02:00
< meta name = "twitter:title" content = "{{ .Title }} | {{ .Site.Title }}" / >
2023-05-12 17:13:00 +02:00
2023-05-05 16:36:10 +02:00
< link rel = "canonical" href = "{{ .Permalink }}" >
< link rel = "icon" href = "{{ .Site.BaseURL }}/assets/favicon.ico" >
< link rel = "alternate" type = "application/atom+xml" title = "{{ .Site.Title }}" href = "{{ .Site.BaseURL }}/atom.xml" / >
< link rel = "alternate" type = "application/json" title = "{{ .Site.Title }}" href = "{{ .Site.BaseURL }}/feed.json" / >
< link rel = "shortcut icon" type = "image/png" href = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=" >
{{ $styles := resources.Get "scss/styles.scss" | toCSS (dict "outputStyle" "compressed") | minify }}
{{ $styles_extra := resources.Get "scss/_extra.scss" | toCSS (dict "outputStyle" "compressed") | minify }}
< style > { { $ s t y l e s . C o n t e n t | s a f e C S S } } { { $ s t y l e s _ e x t r a . C o n t e n t | s a f e C S S } } < / style >
2023-05-06 00:32:44 +02:00
2023-05-05 16:36:10 +02:00
{{ if .IsHome -}}
< script type = "application/ld+json" >
{
"@context": "http://schema.org",
"@type": "WebSite",
"name": "{{ .Site.Title }}",
"url": "{{ .Site.BaseURL }}",
"description": "{{ .Site.Params.description }}",
"thumbnailUrl": "{{ .Site.Params.Logo | absURL }}",
"license": "{{ .Site.Params.Copyright }}"
}
< / script >
{{ else if .IsPage }}
{{ $author := or (.Params.author) (.Site.Author.name) }}
{{ $org_name := .Site.Title }}
< script type = "application/ld+json" >
{
"@context": "http://schema.org",
"@type": "BlogPosting",
"articleSection": "{{ .Section }}",
"name": "{{ .Title | safeJS }}",
"headline": "{{ .Title | safeJS }}",
"alternativeHeadline": "{{ .Params.lead }}",
"description": "{{ if .Description }}{{ .Description | safeJS }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}",
"inLanguage": {{ .Site.LanguageCode | default "en-us" }},
"isFamilyFriendly": "true",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ .Permalink }}"
},
"author" : {
"@type": "Person",
"name": "{{ $author }}"
},
"creator" : {
"@type": "Person",
"name": "{{ $author }}"
},
"accountablePerson" : {
"@type": "Person",
"name": "{{ $author }}"
},
"copyrightHolder" : "{{ $org_name }}",
"copyrightYear" : "{{ .Date.Format "2006" }}",
"dateCreated": "{{ .Date.Format "2006-01-02T15:04:05.00Z" | safeHTML }}",
"datePublished": "{{ .PublishDate.Format "2006-01-02T15:04:05.00Z" | safeHTML }}",
"dateModified": "{{ .Lastmod.Format "2006-01-02T15:04:05.00Z" | safeHTML }}",
"publisher":{
"@type":"Organization",
"name": {{ $org_name }},
"url": {{ .Site.BaseURL }},
"logo": {
"@type": "ImageObject",
"url": "{{ .Site.Params.logo | absURL }}",
"width":"32",
"height":"32"
}
},
"image": {{ if .Params.images }}[{{ range $i, $e := .Params.images }}{{ if $i }}, {{ end }}{{ $e | absURL }}{{ end }}]{{ else}}{{.Site.Params.logo | absURL }}{{ end }},
"url" : "{{ .Permalink }}",
"wordCount" : "{{ .WordCount }}",
"genre" : [ {{ range $index, $tag := .Params.tags }}{{ if $index }}, {{ end }}"{{ $tag }}" {{ end }}],
"keywords" : [ {{ range $index, $tag := .Params.tags }}{{ if $index }}, {{ end }}"{{ $tag }}" {{ end }}]
}
< / script >
{{ end }}
2023-05-06 00:32:44 +02:00
2023-05-05 16:36:10 +02:00
< / head >