From 81acb09a7c5fcc57984ff4636e061948b60dfb7a Mon Sep 17 00:00:00 2001 From: Avi Schwab Date: Tue, 20 Aug 2024 17:44:50 -0500 Subject: [PATCH 1/2] Display content of blog index or blog-section index Fixes #1787 --- layouts/blog/baseof.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html index 97f5951ae7..e92e72a0d8 100644 --- a/layouts/blog/baseof.html +++ b/layouts/blog/baseof.html @@ -22,6 +22,8 @@ {{ partial "taxonomy_terms_clouds.html" . }}
+

{{ .Title }}

+ {{ .Content }} {{ with .CurrentSection.OutputFormats.Get "rss" -}} @@ -35,4 +37,4 @@ {{ partial "scripts.html" . }} - \ No newline at end of file + From 546dcc89bb95baa58a9396393869f30e599173b3 Mon Sep 17 00:00:00 2001 From: Avi Schwab Date: Wed, 21 Aug 2024 11:33:03 -0500 Subject: [PATCH 2/2] Only add headings on section pages --- layouts/blog/baseof.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html index e92e72a0d8..3cc52edaff 100644 --- a/layouts/blog/baseof.html +++ b/layouts/blog/baseof.html @@ -22,8 +22,10 @@ {{ partial "taxonomy_terms_clouds.html" . }}
+ {{ if .IsSection }}

{{ .Title }}

{{ .Content }} + {{ end -}} {{ with .CurrentSection.OutputFormats.Get "rss" -}}