From ebd644f357a535bef50e62412e6dcc5c79263c1f Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 12 Apr 2022 08:35:34 +0200 Subject: [PATCH] small fixes --- content/archive/_index.de.md | 1 - themes/buha/assets/css/generator.css | 6 ------ themes/buha/layouts/partials/l1/contact.html | 6 +++--- themes/buha/layouts/partials/l1/generic_single.html | 6 +++--- 4 files changed, 6 insertions(+), 13 deletions(-) diff --git a/content/archive/_index.de.md b/content/archive/_index.de.md index 31f5b8f9..78756941 100644 --- a/content/archive/_index.de.md +++ b/content/archive/_index.de.md @@ -2,4 +2,3 @@ title: "Archiv" layout: "archive" --- -ewdsfsdf diff --git a/themes/buha/assets/css/generator.css b/themes/buha/assets/css/generator.css index 5c005ea9..6ffa0950 100644 --- a/themes/buha/assets/css/generator.css +++ b/themes/buha/assets/css/generator.css @@ -2,12 +2,6 @@ fieldset { display: flex; flex-direction: row; padding: 0; border: none; margin: 0 0 .3rem .5rem; } -#result { - -webkit-user-select: all; - user-select: all; - -} - input, textarea { background-color: var(--background-body); color: var(--text-link) diff --git a/themes/buha/layouts/partials/l1/contact.html b/themes/buha/layouts/partials/l1/contact.html index 11477e0b..20883622 100644 --- a/themes/buha/layouts/partials/l1/contact.html +++ b/themes/buha/layouts/partials/l1/contact.html @@ -12,15 +12,15 @@ {{- $thumb = $img.Resize "1024x" }} {{ end }}
-
+
{{ if (ne $img "") }} -
+
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}{{ end }} {{ if ne .type "list" }}{{ end }}
{{ end }} -
+
{{ if .partial_before }} {{ partial .partial_before (dict "context" .context "pic" .pic) }} {{ end }} diff --git a/themes/buha/layouts/partials/l1/generic_single.html b/themes/buha/layouts/partials/l1/generic_single.html index 809249aa..c3c31b59 100644 --- a/themes/buha/layouts/partials/l1/generic_single.html +++ b/themes/buha/layouts/partials/l1/generic_single.html @@ -15,16 +15,16 @@ {{ end }}
-
+
{{ if and (ne $img "") (eq .pic true)}} -
+
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}{{ end }} {{ if ne .type "list" }}{{ end }} {{ if eq .type "article" }}{{ end }}
{{ end }} -
+
{{ if .partial_before }} {{ partial .partial_before (dict "context" .context "pic" .pic) }} {{ end }}