From fa3dd14ae04f11de587536e3c2e4a4e4abe72614 Mon Sep 17 00:00:00 2001 From: Alejandro Date: Sat, 3 Aug 2024 17:27:43 -0600 Subject: modified: count majors now uses tags --- layouts/shortcodes/count-majors.html | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 layouts/shortcodes/count-majors.html (limited to 'layouts/shortcodes/count-majors.html') diff --git a/layouts/shortcodes/count-majors.html b/layouts/shortcodes/count-majors.html new file mode 100644 index 0000000..d9bbf85 --- /dev/null +++ b/layouts/shortcodes/count-majors.html @@ -0,0 +1,2 @@ +{{ $p := where site.RegularPages "Params.tags" "intersect" (slice "major") }} +{{ len $p }} -- cgit v1.2.3