From c233b8122f3c2589abeb32789d3e8442a003ed55 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 9 Oct 2021 22:54:33 -0500 Subject: [PATCH] Show certain metadata on all pages --- assets/css/bobastyle.css | 4 ++++ layouts/partials/post-metadata.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 95b5274..f2d0dd4 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -22,6 +22,10 @@ white-space: nowrap; } +.post-metadata { + margin-bottom: 15px; +} + .post-media { margin-top: 15px; } diff --git a/layouts/partials/post-metadata.html b/layouts/partials/post-metadata.html index 4b3746c..30a567b 100644 --- a/layouts/partials/post-metadata.html +++ b/layouts/partials/post-metadata.html @@ -1,4 +1,4 @@ -{{ if or .Date (.GetTerms "tags") }} +{{ if or .GitInfo .Date (.GetTerms "tags") }}
{{ if .Date }}