diff options
author | Martin Ashby <martin@ashbysoft.com> | 2024-03-02 10:37:47 +0000 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2024-03-02 10:37:47 +0000 |
commit | cb2b9eff709e6adba4e8ff7bd0535a59fe5d53bf (patch) | |
tree | 1a2d8330b624f694b864bfc3b85a0fb0aa1012e2 /themes/XMin | |
parent | 1c7126215a8c74154b0d2579b90b346097dcae69 (diff) | |
download | mfashby.net-cb2b9eff709e6adba4e8ff7bd0535a59fe5d53bf.tar.gz mfashby.net-cb2b9eff709e6adba4e8ff7bd0535a59fe5d53bf.tar.bz2 mfashby.net-cb2b9eff709e6adba4e8ff7bd0535a59fe5d53bf.tar.xz mfashby.net-cb2b9eff709e6adba4e8ff7bd0535a59fe5d53bf.zip |
Add about page and CV
Make comments configurable
Move last updated date to the footer
Diffstat (limited to 'themes/XMin')
-rw-r--r-- | themes/XMin/layouts/_default/list.html | 2 | ||||
-rw-r--r-- | themes/XMin/layouts/_default/single.html | 2 | ||||
-rw-r--r-- | themes/XMin/layouts/partials/foot_custom.html | 3 | ||||
-rw-r--r-- | themes/XMin/layouts/partials/footer.html | 5 |
4 files changed, 9 insertions, 3 deletions
diff --git a/themes/XMin/layouts/_default/list.html b/themes/XMin/layouts/_default/list.html index 06b290a..2ab6958 100644 --- a/themes/XMin/layouts/_default/list.html +++ b/themes/XMin/layouts/_default/list.html @@ -17,4 +17,4 @@ {{ end }} </ul> -{{ partial "footer.html" . }} +{{ partial "footer.html" . }}
\ No newline at end of file diff --git a/themes/XMin/layouts/_default/single.html b/themes/XMin/layouts/_default/single.html index de3f121..ed638ae 100644 --- a/themes/XMin/layouts/_default/single.html +++ b/themes/XMin/layouts/_default/single.html @@ -1,8 +1,6 @@ {{ partial "header.html" . }} <div class="article-meta"> <h1><span class="title">{{ .Title | markdownify }}</span></h1> -{{ with .Params.author }}<h2 class="author">{{ . }}</h2>{{ end }} -{{ if (gt .Params.date 0) }}<h2 class="date">{{ .Date.Format "2006/01/02" }}</h2>{{ end }} </div> <main> 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/> |