more meta to head

This commit is contained in:
teldra 2021-10-23 22:41:01 +02:00
parent 75aad189a8
commit afbce89efc
3 changed files with 23 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
public
/resources/
/public/

View File

@ -9,10 +9,6 @@ description = "Buntes Haus e.V. - Soziokulturelles Zentrum in Celle - probably t
copyright = "bunteshaus.de"
[params]
# how do you want to call your hidden folder?
hiddenfolder = "orga"
# keywords for seo
keywords = "buntes haus celle, buntes haus, bunteshaus, celle, buntes haus e.V., www.bunteshaus.de, celle, punk, reggae, ska, konzerte, partys, soziokultur, soziokulturelles zentrum celle, elektro, electroe, jugendzentrum, celle, dum n bass, konzert, musik, politik, kultur, alternativ, cd kaserne celle, cd kaserne, plenum, celle, antifa, antira, anti akw, anti atom celle, veranstaltungen, infoladen, proberaum celle, archiv für neue soziale bewegungen in celle, hartz 4 IV beratung celle, skaten, graffiti, sprayen, kunst, fahrradwerkstatt, deka dance celle, dekadance, Revista, probably the friendliest Place on Earth"

View File

@ -1,6 +1,27 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ $stylecolor := resources.Get "css/color.css" }}
{{ $stylelayout := resources.Get "css/layout.css" }}
{{ $allcss := slice $stylecolor $stylelayout | resources.Concat "/css/vendor.css" | minify | fingerprint "sha512" }}
<link rel="stylesheet" href="{{ $allcss.RelPermalink }}" integrity="{{ $allcss.Data.Integrity }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ $title := print .Site.Title " | " .Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
<meta property="og:title" content="{{ site.Title }}" />
<link rel="canonical" href="{{ .Permalink }}">
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ if .Site.Params.keywords -}}
<meta name="keywords" content="{{ .Site.Params.keywords }}" />
{{- end }}
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
{{ template "_internal/opengraph.html" . }}