From 54375572e11d23dacb20c5742d171af3072d7b9c Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Thu, 28 Nov 2024 00:46:17 +0300 Subject: Серьезная реновация MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/pico8/list.html | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 layouts/pico8/list.html (limited to 'layouts/pico8/list.html') diff --git a/layouts/pico8/list.html b/layouts/pico8/list.html new file mode 100644 index 0000000..7158b4a --- /dev/null +++ b/layouts/pico8/list.html @@ -0,0 +1,50 @@ +{{ define "main" }} +
+ +
+ {{ if .Title }} +
+
+
+ {{ .Title }} +
+
+ {{ .Content }} +
+ {{ end }} + {{ $paginator := .Paginate .Pages 7 }} + {{ range $paginator.Pages }} +
+
+
+ {{ .LinkTitle }} + {{ if .Date }} + + {{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}} + + {{ end }} +
+
+ {{ if .Description }} + {{ .Description }} + {{ else }} + {{ .Summary }} + {{ end }} + + + + +
+ {{ end }} + +
+
+ +{{ end }} -- cgit v1.2.3