From 0e73c5b18cf615641fdd481a44d75781fe0e04eb Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 28 Feb 2022 17:00:00 +0100 Subject: Change section name to section title in summary (#520) * Change section name to section title Mimics functionality in page.html. Fix #519 * Keep title as specified * Include span in conditional --- layouts/_default/summary.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index fb77404..2bad536 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,6 +1,6 @@
- {{ humanize .Section }} + {{with .CurrentSection.Title }}{{ . }}{{end}}

{{ .Title }} -- cgit v1.2.3