From 7e15e351fc150ce03353278cecaf135e48e4ccec Mon Sep 17 00:00:00 2001 From: Morgan Date: Tue, 31 Oct 2023 16:21:18 +0900 Subject: [PATCH] Changed something --- config.yml | 2 +- config.yml.old | 3 ++- scripts/build.sh | 2 +- themes/mytheme/layouts/partials/footer.html | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config.yml b/config.yml index b5e5f6e..1df9d4c 100644 --- a/config.yml +++ b/config.yml @@ -93,7 +93,7 @@ params: minMatchCharLength: 0 keys: ["title", "permalink", "summary", "content"] - buildDate: 2023-10-31_16:11:53 + buildDate: 2023-10-31_16:21:15 permalinks: posts: /:year/:month/:title/ diff --git a/config.yml.old b/config.yml.old index 55c633c..e7e9dcf 100644 --- a/config.yml.old +++ b/config.yml.old @@ -93,6 +93,8 @@ params: minMatchCharLength: 0 keys: ["title", "permalink", "summary", "content"] + buildDate: 2023-10-31_16:19:01 + permalinks: posts: /:year/:month/:title/ @@ -117,4 +119,3 @@ markup: # lineNos: true style: github -buildDate: 2023-10-31_16:11:52 diff --git a/scripts/build.sh b/scripts/build.sh index 2740701..619d935 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,3 +1,3 @@ sed -i.old "s/buildDate: [0-9]\+-[0-9]\+-[0-9]\+_[0-9]\+:[0-9]\+:[0-9]\+/buildDate: $(date +%Y-%m-%d_%H:%M:%S)/" config.yml - +echo buildDate: $(date +%Y-%m-%d_%H:%M:%S) hugo diff --git a/themes/mytheme/layouts/partials/footer.html b/themes/mytheme/layouts/partials/footer.html index f86a86f..f945433 100644 --- a/themes/mytheme/layouts/partials/footer.html +++ b/themes/mytheme/layouts/partials/footer.html @@ -11,7 +11,7 @@ {{- end }} {{- if (not site.Params.disableScrollToTop) }} -^ +^ {{- end }} {{- partial "extend_footer.html" . }}