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/_default/home.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 layouts/_default/home.html (limited to 'layouts/_default/home.html') diff --git a/layouts/_default/home.html b/layouts/_default/home.html new file mode 100644 index 0000000..99524d3 --- /dev/null +++ b/layouts/_default/home.html @@ -0,0 +1,29 @@ +{{ define "main" }} +
+ +
+ + {{ $pages := where site.RegularPages "Type" "posts" }} + {{ $paginator := .Paginate $pages 7 }} + {{ range $paginator.Pages }} + {{ partial "list.html" . }} + {{ end }} + +
+
+{{ end }} -- cgit v1.2.3