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 }}