From 30d3c64c411fe3a5123d6125d740d00e4336ddf9 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 3 Feb 2022 10:58:37 +0100 Subject: [PATCH] fix: fix post metadata positioning (#315) --- exampleSite/content/en/posts/hello_geekdoc.md | 1 + layouts/partials/posts/metadata.html | 10 +++--- layouts/posts/list.html | 4 ++- layouts/posts/single.html | 8 ++--- layouts/taxonomy/list.html | 4 ++- src/sass/_base.scss | 36 +++++++++++-------- src/sass/_markdown.scss | 4 +-- 7 files changed, 39 insertions(+), 28 deletions(-) diff --git a/exampleSite/content/en/posts/hello_geekdoc.md b/exampleSite/content/en/posts/hello_geekdoc.md index fe025ed..78cb14b 100644 --- a/exampleSite/content/en/posts/hello_geekdoc.md +++ b/exampleSite/content/en/posts/hello_geekdoc.md @@ -4,6 +4,7 @@ type: posts date: 2020-01-06 tags: - Documentation + - Updates --- This is the first release of the Geekdoc theme. diff --git a/layouts/partials/posts/metadata.html b/layouts/partials/posts/metadata.html index ef1757e..df01cce 100644 --- a/layouts/partials/posts/metadata.html +++ b/layouts/partials/posts/metadata.html @@ -1,4 +1,4 @@ - + - + @@ -21,7 +21,7 @@ {{ $name := . }} {{ with $.Site.GetPage (printf "/tags/%s" $name | urlize) }} {{ if eq $tc 0 }} - + {{ template "post-tag" dict "name" $name "page" . }} @@ -34,7 +34,7 @@ {{ end }} {{ define "post-tag" }} -