diff --git a/config/_default/params.toml b/config/_default/params.toml index 9344c67..d0cfcde 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,6 +1,6 @@ # 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" -debug = false + #do you want a contact page? contact = true diff --git a/themes/buha/assets/css/article.css b/themes/buha/assets/css/article.css index c179196..9df4864 100644 --- a/themes/buha/assets/css/article.css +++ b/themes/buha/assets/css/article.css @@ -64,13 +64,37 @@ article #readmore { } #article_footer { - margin-left: 1rem; + margin-left: 1rem; margin-top: 0rem; margin-bottom: 0rem; display: flex; flex-direction: column; - align-items: stretch; + align-items: stretch; font-size: x-small; color: var(--text-muted); - flex-grow: 1; +} + +#article_footer_foundations1 { + display: flex; + height: 3rem; +} + +#article_footer_foundations2 { + display: flex; + justify-content: space-between; + margin-top: 1rem; +} + +.article_footer_item1 { + display: flex; + flex-grow: 0; + height: 3rem; + margin-right: 1rem; + margin-top: .1rem; +} + +.article_footer_item2 { + display: flex; + flex-grow: 0; + flex-direction: column; } diff --git a/themes/buha/assets/css/big.css b/themes/buha/assets/css/big.css index 3f9257e..c2b1897 100644 --- a/themes/buha/assets/css/big.css +++ b/themes/buha/assets/css/big.css @@ -26,11 +26,8 @@ max-width: 800px; } article { - margin-left: 0rem; + margin-left: 1rem; } - #article_footer { - margin-left: .8rem; - } #articlemeta { margin-bottom: 1.5rem; } diff --git a/themes/buha/assets/css/generator.css b/themes/buha/assets/css/generator.css index 3ad4f37..a6ef163 100644 --- a/themes/buha/assets/css/generator.css +++ b/themes/buha/assets/css/generator.css @@ -2,10 +2,6 @@ fieldset { display: flex; flex-direction: row; padding: 0; border: none; margin: 0 0 .3rem .5rem; } -#result { - white-space: pre; display: none; background: var(--background-body); padding: .6rem 0 1rem 1rem; margin-top: 1rem; -} - #display { -webkit-user-select: all; user-select: all; @@ -14,4 +10,5 @@ fieldset { input, textarea { background-color: var(--background-body); + color: var(--text-link) } diff --git a/themes/buha/assets/css/main.css b/themes/buha/assets/css/main.css index ea9519d..96ec7cb 100644 --- a/themes/buha/assets/css/main.css +++ b/themes/buha/assets/css/main.css @@ -9,7 +9,7 @@ img { } main { - min-height: 60vh; + min-height: 80vh; } h1 { diff --git a/themes/buha/layouts/_default/single.html b/themes/buha/layouts/_default/single.html index 5da31df..d31491c 100644 --- a/themes/buha/layouts/_default/single.html +++ b/themes/buha/layouts/_default/single.html @@ -12,7 +12,7 @@ {{ else if eq .Params.tool "nottranslated" }} {{ $partial = "layout/nottranslated" }} {{ end }} -
+
{{ partial $partial (dict "context" . "pic" $pic "content" .Content "partial_before" $partial_before "type" "article") }} -
+ {{ end }} diff --git a/themes/buha/layouts/partials/layout/article.html b/themes/buha/layouts/partials/layout/article.html index 2ef1232..92699f3 100644 --- a/themes/buha/layouts/partials/layout/article.html +++ b/themes/buha/layouts/partials/layout/article.html @@ -47,7 +47,7 @@
{{ with .Params.foundations }} Träger der Veranstaltung: -
+
{{ range . }} {{ $l := . }} {{ $url := "" }} @@ -58,20 +58,20 @@ {{- $res_im := resources.GetMatch (printf "/foundations/%s*" $l ) -}} {{ if $res_im }} -
- {{ if $url }}{{ end }} {{ if $url }}{{ end }} + {{ end }} {{ end }}
{{ end }} -
-
+
+ {{ if ne .Date .Lastmod }} -
+ diff --git a/themes/buha/layouts/partials/layout/generator/form.html b/themes/buha/layouts/partials/layout/generator/form.html index 3eff57f..34bd89e 100644 --- a/themes/buha/layouts/partials/layout/generator/form.html +++ b/themes/buha/layouts/partials/layout/generator/form.html @@ -35,7 +35,7 @@
{{ else if eq .input_type "results" }} -
+ {{ else if eq .input_type "submit" }}
diff --git a/themes/buha/layouts/partials/snippets/footer.html b/themes/buha/layouts/partials/snippets/footer.html index 2b0d5d4..f2411c2 100644 --- a/themes/buha/layouts/partials/snippets/footer.html +++ b/themes/buha/layouts/partials/snippets/footer.html @@ -4,7 +4,7 @@ {{ if i18n "contact" }} {{ $contact = i18n "contact" }} {{ end }} - {{- $contact | strings.FirstUpper -}}:

+ {{- $contact | strings.FirstUpper -}}:
{{- partial "structure/contact" -}}
{{- end -}}