summaryrefslogtreecommitdiff
path: root/layouts/_partials/list-pages.html
diff options
context:
space:
mode:
authorChristian Hodgden <chrhodgden@gmail.com>2026-02-03 16:25:44 -0600
committerChristian Hodgden <chrhodgden@gmail.com>2026-02-03 16:25:44 -0600
commit7b2b1f6b837dbca3dd08cb89836cb1ae098c2bd8 (patch)
tree2e9f027245a84e9c1372f88196ebbdfbf58bf920 /layouts/_partials/list-pages.html
Initial Commit.main
Yay
Diffstat (limited to 'layouts/_partials/list-pages.html')
-rw-r--r--layouts/_partials/list-pages.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/_partials/list-pages.html b/layouts/_partials/list-pages.html
new file mode 100644
index 0000000..6ad1411
--- /dev/null
+++ b/layouts/_partials/list-pages.html
@@ -0,0 +1,16 @@
+<ul>{{ range .Pages.ByDate }}
+ {{ $aboutCheck := eq ( eq $.Section "about" ) ( eq .Section "about" ) }}
+ {{ if and ( isset .Params "title" ) $aboutCheck }}
+ <li class="pages-iter-item"
+ {{ with merge .Site.Params .Params }}
+ {{ if .accentColorCheck }}
+ style="--instance-hue: {{ .accentHue }};"
+ {{ else if .themeColorCheck }}
+ style="--instance-hue: {{ .themeHue }};"
+ {{ end }}
+ {{ end }}
+ ><a href="{{ .RelPermalink }}">{{ .Title }}</a>
+ </li>
+ {{ end }}
+{{ end }}</ul>
+