From c816c30f5f2353e75518bde7464b1c0258bdeef8 Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Fri, 4 Jul 2025 16:24:08 -0700 Subject: [PATCH] Increase width of index pages Also pull descriptions for topic page buttons on tag pages into the button to improve alignment and readability. --- layouts/_default/list.html | 8 ++++---- layouts/article/list-images.html | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e3aa2e3b55..e62e155c65 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -120,7 +120,7 @@

Featured Tutorials

-
+

{{ if eq .CurrentSection .FirstSection }}{{ .Section | humanize }}{{ else }}{{ .Title }}{{ end }}

{{ .Content }}
@@ -150,10 +150,10 @@

{{ if eq .CurrentSection .FirstSection }}{{ .Section | h

- - {{ if .Description }} + {{ if .Description }}
{{ .Description }}
- {{ end }} + {{ end }} + {{ end }} {{ template "_internal/pagination.html" . }} {{ end }} diff --git a/layouts/article/list-images.html b/layouts/article/list-images.html index b5e1cfefc9..4b68ebeac5 100644 --- a/layouts/article/list-images.html +++ b/layouts/article/list-images.html @@ -52,11 +52,11 @@
- - {{ if .Description }} + {{ if .Description }}
{{ .Description }}
+ {{ end }} + {{ end }} - {{ end }} {{ template "_internal/pagination.html" . }} {{ end }}