From 5daa1e5f3a797f640445ef099c7947a2e13bc908 Mon Sep 17 00:00:00 2001 From: Anne Date: Sat, 1 Nov 2025 15:24:35 +0100 Subject: [PATCH] Updated theme --- themes/minimalminded/assets/css/main.css | 36 +++++++++++++++++-- .../layouts/_partials/footer.html | 5 ++- .../layouts/_partials/terms.html | 3 +- themes/minimalminded/layouts/page.html | 10 +++--- 4 files changed, 44 insertions(+), 10 deletions(-) diff --git a/themes/minimalminded/assets/css/main.css b/themes/minimalminded/assets/css/main.css index d9d4fa5..f7b9656 100644 --- a/themes/minimalminded/assets/css/main.css +++ b/themes/minimalminded/assets/css/main.css @@ -5,7 +5,7 @@ html { body { line-height: 1.5; max-width: 768px; - margin: 1rem; + margin: auto; font-family: Tahoma, Verdana, Arial, sans-serif; color: lightgray; } @@ -38,12 +38,18 @@ nav ul li a { color: violet; } -div#tags div { +div#byline { + color: grey; + font-size: 0.9rem; +} + +div#tags { display: inline; } div#tags ul { - padding: 0; + padding-left: 0.5rem; + display: inline; } div#tags ul li { @@ -59,6 +65,30 @@ a { color: palevioletred; } +h1, h2, h3, h4 { + padding-top: 1rem; +} + h1 { color: palevioletred; } + +blockquote { + color: lightblue; + font-size: 0.9rem; + margin: 0; + padding-left: 0.5rem; + border-left: 0.4rem solid lightblue; +} + +div#footer { + padding: 2rem 0 2rem 0; +} + +div#footer p { + color: grey; + font-size: 0.8rem; + margin: 0; +} + + diff --git a/themes/minimalminded/layouts/_partials/footer.html b/themes/minimalminded/layouts/_partials/footer.html index a7cd916..97c039a 100644 --- a/themes/minimalminded/layouts/_partials/footer.html +++ b/themes/minimalminded/layouts/_partials/footer.html @@ -1 +1,4 @@ -

Copyright {{ now.Year }}. All rights reserved.

+ diff --git a/themes/minimalminded/layouts/_partials/terms.html b/themes/minimalminded/layouts/_partials/terms.html index 8a6ebec..4cbc942 100644 --- a/themes/minimalminded/layouts/_partials/terms.html +++ b/themes/minimalminded/layouts/_partials/terms.html @@ -12,8 +12,7 @@ For a given taxonomy, renders a list of terms assigned to the page. {{- with $page.GetTerms $taxonomy }} {{- $label := (index . 0).Parent.LinkTitle }} -
-
{{ $label }}:
+
    {{- range . }}
  • {{ .LinkTitle }}
  • diff --git a/themes/minimalminded/layouts/page.html b/themes/minimalminded/layouts/page.html index 7e286c8..f816934 100644 --- a/themes/minimalminded/layouts/page.html +++ b/themes/minimalminded/layouts/page.html @@ -1,10 +1,12 @@ {{ define "main" }}

    {{ .Title }}

    - {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format ":date_long" }} - + {{ $dateMachine := .Date | time.Format "2006-01-02" }} + {{ $dateHuman := .Date | time.Format "2006-01-02" }} +
    + + {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} +
    {{ .Content }} - {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} {{ end }}