From 21180991c020a6c82227c4450f2f3b1e488d7c7b Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 13 Nov 2021 15:22:06 -0600 Subject: [PATCH] Small tweaks to post-metadata partial --- layouts/partials/post-metadata.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/layouts/partials/post-metadata.html b/layouts/partials/post-metadata.html index a9b587d..3a99a62 100644 --- a/layouts/partials/post-metadata.html +++ b/layouts/partials/post-metadata.html @@ -1,18 +1,13 @@ -{{ if or .Date .IsTranslated .Site.Params.wordcount .Site.Params.readingtime .Site.Params.repoURL }} +{{ if or .Date .IsTranslated .Site.Params.readingtime .Site.Params.repoURL }}
{{ if .Date }} - {{ $gitinfo := false }} - {{ with .GitInfo }} - {{ $gitinfo = true }} - {{ end }} - {{/* TODO: make this be a tooltip */}} {{ if ne (time.Format "2006-01-02" .Lastmod) (time.Format "2006-01-02" .Date) }}