From 7dd1259a143173a1413d27d65bf711e6b791b712 Mon Sep 17 00:00:00 2001
From: John Bowdre
Date: Wed, 29 May 2024 15:06:16 -0500
Subject: [PATCH] display post descriptions (if set) on archive pages,
otherwise summaries
---
content/changelog.md | 7 +++++--
layouts/partials/archive.html | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/content/changelog.md b/content/changelog.md
index 00906ca..f81d545 100644
--- a/content/changelog.md
+++ b/content/changelog.md
@@ -1,13 +1,16 @@
---
title: "/changelog"
date: "2024-05-26T21:19:08Z"
-lastmod: "2024-05-28"
+lastmod: "2024-05-29"
description: "Maybe I should keep a log of all my site-related tinkering?"
featured: false
toc: false
timeless: true
---
-High-level list of config/layout changes to the site:
+*High-level list of config/layout changes to the site:*
+
+**2024-05-29:**
+- Display post descriptions (if set) on archive pages; otherwise fall back to summaries
**2024-05-27:**
- Replace "powered by" links with slashpages
diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html
index b6d6ee0..9fb235f 100644
--- a/layouts/partials/archive.html
+++ b/layouts/partials/archive.html
@@ -54,7 +54,7 @@
- {{ .Summary }}
+ {{if .Description }}{{ .Description }}{{ else }}{{ .Summary }}{{ end }}