diff options
Diffstat (limited to 'themes/XMin/layouts/partials')
-rw-r--r-- | themes/XMin/layouts/partials/foot_custom.html | 3 | ||||
-rw-r--r-- | themes/XMin/layouts/partials/footer.html | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/themes/XMin/layouts/partials/foot_custom.html b/themes/XMin/layouts/partials/foot_custom.html index eb0962a..3dd47a3 100644 --- a/themes/XMin/layouts/partials/foot_custom.html +++ b/themes/XMin/layouts/partials/foot_custom.html @@ -1,3 +1,4 @@ + <a href="https://mfashby.net/index.xml"> <svg xmlns="http://www.w3.org/2000/svg" role="img" aria-label="[title]" @@ -12,6 +13,7 @@ <path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg> </a> +{{ if .Param "comments" }} <h2>comments</h2> <div style="visibility: hidden" id="comments">comments go here</div> <div style="visibility: hidden" id="comment_form">comment form goes here</div> @@ -34,3 +36,4 @@ }); </script> <noscript>Comments disabled without javascript!</noscript> +{{ end }}
\ No newline at end of file diff --git a/themes/XMin/layouts/partials/footer.html b/themes/XMin/layouts/partials/footer.html index 3f46ea5..b2a1d6c 100644 --- a/themes/XMin/layouts/partials/footer.html +++ b/themes/XMin/layouts/partials/footer.html @@ -1,4 +1,9 @@ <footer> + <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> + {{ partial "foot_custom.html" . }} {{ with .Site.Params.footer }} <hr/> |