From cb2b9eff709e6adba4e8ff7bd0535a59fe5d53bf Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Sat, 2 Mar 2024 10:37:47 +0000 Subject: Add about page and CV Make comments configurable Move last updated date to the footer --- themes/XMin/layouts/_default/list.html | 2 +- themes/XMin/layouts/_default/single.html | 2 -- themes/XMin/layouts/partials/foot_custom.html | 3 +++ themes/XMin/layouts/partials/footer.html | 5 +++++ 4 files changed, 9 insertions(+), 3 deletions(-) (limited to 'themes') 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 }} -{{ 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" . }}

{{ .Title | markdownify }}

-{{ with .Params.author }}

{{ . }}

{{ end }} -{{ if (gt .Params.date 0) }}

{{ .Date.Format "2006/01/02" }}

{{ end }}
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 @@ + +{{ if .Param "comments" }}

comments

@@ -34,3 +36,4 @@ }); +{{ 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 @@