From 4aadf777fba7be59c343f3bc30172c22d3aca12d Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 28 Jan 2023 19:46:58 -0800 Subject: [PATCH] Add page.date.format config --- README.md | 1 + layouts/partials/paige/about.html | 4 ++-- layouts/partials/paige/pages.html | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 139471e2..18517f2c 100644 --- a/README.md +++ b/README.md @@ -283,6 +283,7 @@ paige: show: false # Default is false date: class: "text-center text-secondary" # Default is "text-center text-secondary" + format: ":date_long" # Default is ":date_long" show: false # Default is false description: class: "text-center" # Default is "text-center" diff --git a/layouts/partials/paige/about.html b/layouts/partials/paige/about.html index 801faea8..2dd3f5d0 100644 --- a/layouts/partials/paige/about.html +++ b/layouts/partials/paige/about.html @@ -7,8 +7,8 @@ {{ with $authors }}

{{ . }}

{{ end }} -{{ with $date }} +{{ if $date }}

- +

{{ end }} diff --git a/layouts/partials/paige/pages.html b/layouts/partials/paige/pages.html index 39f77505..aff1c72d 100644 --- a/layouts/partials/paige/pages.html +++ b/layouts/partials/paige/pages.html @@ -64,9 +64,9 @@ {{ with $authors }}

{{ . }}

{{ end }} - {{ with $date }} + {{ if $date }}

- +

{{ end }} {{ if $summary }}