From afbce89efcee425aafc99e03d5d5abc1ca24ad65 Mon Sep 17 00:00:00 2001 From: teldra Date: Sat, 23 Oct 2021 22:41:01 +0200 Subject: [PATCH] more meta to head --- .gitignore | 1 + config.toml | 4 ---- themes/buha/layouts/partials/head.html | 23 ++++++++++++++++++++++- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 41e4d950..25a236d1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ public /resources/ +/public/ \ No newline at end of file diff --git a/config.toml b/config.toml index 33955923..26fd355a 100644 --- a/config.toml +++ b/config.toml @@ -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" diff --git a/themes/buha/layouts/partials/head.html b/themes/buha/layouts/partials/head.html index 13481d00..e747c552 100644 --- a/themes/buha/layouts/partials/head.html +++ b/themes/buha/layouts/partials/head.html @@ -1,6 +1,27 @@ + + + + {{ $stylecolor := resources.Get "css/color.css" }} {{ $stylelayout := resources.Get "css/layout.css" }} {{ $allcss := slice $stylecolor $stylelayout | resources.Concat "/css/vendor.css" | minify | fingerprint "sha512" }} - \ No newline at end of file +{{ $title := print .Site.Title " | " .Title }} +{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} +{{ $title }} + + + +{{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} +{{ end -}} + +{{ if .Site.Params.keywords -}} + +{{- end }} + + + +{{ template "_internal/opengraph.html" . }} +