From 16f52b7bef745097f7076dde76715db378b54343 Mon Sep 17 00:00:00 2001 From: JJ Date: Wed, 19 Mar 2025 14:56:26 +0000 Subject: first commit --- layouts/projects/list.html | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 layouts/projects/list.html (limited to 'layouts/projects/list.html') diff --git a/layouts/projects/list.html b/layouts/projects/list.html new file mode 100644 index 0000000..1f9fc51 --- /dev/null +++ b/layouts/projects/list.html @@ -0,0 +1,40 @@ +{{ define "main" }} + + {{ if .Data.Singular }} +

Filtering for "{{ .Title }}"

+ + Remove filter + + {{ end }} + + +
+ {{ $currentSection := .Section }} + {{ range $tag, $taxonomy := .Site.Taxonomies.tags }} + {{ $count:= 0 }} + {{ range $taxonomy.Pages }} + {{ if eq .Section $currentSection }} + {{ $count = add $count 1 }} + {{ end }} + {{ end }} + {{ if gt $count 0 }} + #{{ $taxonomy.Page.Title }}  + {{ end }} + {{ end }} +
+
+
+{{ end }} -- cgit v1.2.3