From 04fdcac1dce2cc439dd8ad1b115507671040737e Mon Sep 17 00:00:00 2001 From: Miqdd Date: Mon, 22 Jan 2024 06:39:54 +0700 Subject: Publish --- layouts/index.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 layouts/index.html (limited to 'layouts/index.html') diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..bd4d1da --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,30 @@ + + + {{ partial "header.html" . }} + +
+ {{ partial "head.html" . }} + +
+
+ {{- if isset .Site.Params "subtitle" -}} +

{{ .Site.Params.Subtitle | markdownify }}

+ {{- end -}} +
+ {{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} + {{ $paginator := .Paginate (where $pages "Params.hidden" "ne" true) }} + {{ range $paginator.Pages }} +
+

{{.Title}}

+ +
{{ template "partials/pagedescription.html" . }} + Read more ⟶ +
+ {{ end }} + {{ template "partials/paginator.html" . }} +
+ {{ partial "footer.html" . }} +
+ + + -- cgit v1.2.3