From f510077aaefb1477fad28563e2637c424332ae61 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Sun, 1 Feb 2026 20:01:56 +0100 Subject: Added the python post --- layouts/_default/section.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 layouts/_default/section.html (limited to 'layouts/_default/section.html') diff --git a/layouts/_default/section.html b/layouts/_default/section.html new file mode 100644 index 0000000..a27e808 --- /dev/null +++ b/layouts/_default/section.html @@ -0,0 +1,19 @@ +{{ define "main" }} +

{{ strings.Title .Section }}

+ + + + + + + {{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} + {{ $paginator := .Paginate (where $pages "Params.hidden" "ne" true) }} + {{ range $index, $element := $paginator.Pages }} + + + + + + {{ end }} +
{{ add $index 1 }}{{ dateFormat "2006-01-02" $element.Date }}{{ $element.Title }}
+{{ end }} \ No newline at end of file -- cgit v1.3.1