From 31dd4dafa8b4e13775162f2f82f670ec75d9aabc Mon Sep 17 00:00:00 2001 From: Eltrac Date: Wed, 24 Sep 2025 23:11:47 +0800 Subject: remove: fiction section page description --- layouts/fictions/section.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'layouts/fictions/section.html') diff --git a/layouts/fictions/section.html b/layouts/fictions/section.html index 65a4e394..8857dd7b 100644 --- a/layouts/fictions/section.html +++ b/layouts/fictions/section.html @@ -1,10 +1,7 @@ {{ define "main" }}
{{ partial "header.html" . }} -
-
- {{ with .Content }}{{ . }}{{ end }} -
+
{{- $fictions := .Site.GetPage "section" "fictions" }} {{- range $fictions.Pages }} @@ -20,9 +17,11 @@ {{ $opacity := index $steps (int (math.Floor (mul (math.Rand) 5))) }} {{ $opacityClass := printf "opacity-%d" $opacity }} - {{- end }}
-- cgit v1.2.3