From 8fa2423e988574324367280b7e012d52b329fbd1 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 17 Nov 2025 17:38:45 -0700 Subject: [PATCH] Only show the subtitle if it's an article, not a tag, series, or category list, by checking if the date and author are also set. --- layouts/_default/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e5c2cfe..e83ca15 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -21,7 +21,7 @@ {{ if .Params.tags }}{{ index .Params.tags 0 | title }}:{{ end }} - {{.Title}}{{ if .Params.subtitle }} + {{ .Title }}{{ if and (.Params.subtitle) (and (.Params.author) (.Params.date)) }} {{ "--" | markdownify }} {{ .Params.subtitle}} {{ end }}