aboutsummaryrefslogtreecommitdiff
path: root/themes/XMin/layouts/partials/footer.html
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2024-03-03 09:27:38 +0000
committerMartin Ashby <martin@ashbysoft.com>2024-03-03 09:27:38 +0000
commitd52c7a0ee5fe4b54d15f5ed25b6326ee5f22255e (patch)
treecad5b3b9d6a40cec9600ac149a5dd7ce80cb9119 /themes/XMin/layouts/partials/footer.html
parentb50102af01d07154b8bf59571596722684dc5183 (diff)
downloadmfashby.net-d52c7a0ee5fe4b54d15f5ed25b6326ee5f22255e.tar.gz
mfashby.net-d52c7a0ee5fe4b54d15f5ed25b6326ee5f22255e.tar.bz2
mfashby.net-d52c7a0ee5fe4b54d15f5ed25b6326ee5f22255e.tar.xz
mfashby.net-d52c7a0ee5fe4b54d15f5ed25b6326ee5f22255e.zip
Move rss link to menu
Remove page-meta div if empty
Diffstat (limited to 'themes/XMin/layouts/partials/footer.html')
-rw-r--r--themes/XMin/layouts/partials/footer.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/XMin/layouts/partials/footer.html b/themes/XMin/layouts/partials/footer.html
index b2a1d6c..082588d 100644
--- a/themes/XMin/layouts/partials/footer.html
+++ b/themes/XMin/layouts/partials/footer.html
@@ -1,8 +1,10 @@
<footer>
+ {{ if or (.Params.author) (gt .Params.lastmod 0) }}
<div class="article-meta">
{{ with .Params.author }}Author <span class="author">{{ . }}</span><br/>{{ end }}
{{ if (gt .Params.lastmod 0) }}Updated <span class="date">{{ .Lastmod.Format "2006/01/02" }}</span><br/>{{ end }}
</div>
+ {{ end }}
{{ partial "foot_custom.html" . }}
{{ with .Site.Params.footer }}