From 67e526bd995ffddc25ade8446d21ec73a6a3885d Mon Sep 17 00:00:00 2001 From: Morgan Date: Tue, 31 Oct 2023 16:16:05 +0900 Subject: [PATCH] edited post --- config.yml | 3 ++- themes/mytheme/layouts/partials/footer.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.yml b/config.yml index b134526..b5e5f6e 100644 --- a/config.yml +++ b/config.yml @@ -93,6 +93,8 @@ params: minMatchCharLength: 0 keys: ["title", "permalink", "summary", "content"] + buildDate: 2023-10-31_16:11:53 + permalinks: posts: /:year/:month/:title/ @@ -117,4 +119,3 @@ markup: # lineNos: true style: github -buildDate: 2023-10-31_16:11:53 diff --git a/themes/mytheme/layouts/partials/footer.html b/themes/mytheme/layouts/partials/footer.html index 0fc2f7e..4ed80d1 100644 --- a/themes/mytheme/layouts/partials/footer.html +++ b/themes/mytheme/layouts/partials/footer.html @@ -4,7 +4,7 @@ {{ site.Copyright | markdownify }} {{- else }} © {{ now.Year }} {{ site.Title }} - Build date: {{ site.buildDate }} + Build date: {{ site.Params.buildDate }} {{- end }} {{- end }}