From c0d4da4fa49d6775fd37f2f9a69bc87234370def Mon Sep 17 00:00:00 2001 From: Skiz Date: Mon, 2 Sep 2024 14:05:16 -0400 Subject: Installed "schizo" theme and named it "vapor" --- themes/vapor/layouts/partials/nav.html | 8 ++++++++ themes/vapor/layouts/partials/nextprev.html | 10 ++++++++++ themes/vapor/layouts/partials/taglist.html | 13 +++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 themes/vapor/layouts/partials/nav.html create mode 100644 themes/vapor/layouts/partials/nextprev.html create mode 100644 themes/vapor/layouts/partials/taglist.html (limited to 'themes/vapor/layouts/partials') diff --git a/themes/vapor/layouts/partials/nav.html b/themes/vapor/layouts/partials/nav.html new file mode 100644 index 0000000..a7318fe --- /dev/null +++ b/themes/vapor/layouts/partials/nav.html @@ -0,0 +1,8 @@ + diff --git a/themes/vapor/layouts/partials/nextprev.html b/themes/vapor/layouts/partials/nextprev.html new file mode 100644 index 0000000..8b18415 --- /dev/null +++ b/themes/vapor/layouts/partials/nextprev.html @@ -0,0 +1,10 @@ + diff --git a/themes/vapor/layouts/partials/taglist.html b/themes/vapor/layouts/partials/taglist.html new file mode 100644 index 0000000..757db6f --- /dev/null +++ b/themes/vapor/layouts/partials/taglist.html @@ -0,0 +1,13 @@ + {{- if isset .Params "tags" -}} + {{- $tagsLen := len .Params.tags -}} + {{- if gt $tagsLen 0 -}} +
+ {{- with .Site.Params.relatedtext }}{{ . }}
{{ end -}} + {{- range $k, $v := .Params.tags -}} + {{- $url := printf "tags/%s" (. | urlize | lower) -}} + {{ . | title }} + {{- if lt $k (sub $tagsLen 1) }} · {{ end -}} + {{- end -}} +
+ {{- end -}} + {{- end }} -- cgit v1.2.3