summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/count-majors.html
diff options
context:
space:
mode:
authorAlejandro <[email protected]>2024-08-03 17:27:43 -0600
committerAlejandro <[email protected]>2024-08-03 17:27:43 -0600
commitfa3dd14ae04f11de587536e3c2e4a4e4abe72614 (patch)
tree7c8c40a9044c7231ff6abfe3a165fa9a61716246 /layouts/shortcodes/count-majors.html
parente7dcedaa8c8811850d0e7d032f95f595a6398a48 (diff)
modified: count majors now uses tags
Diffstat (limited to 'layouts/shortcodes/count-majors.html')
-rw-r--r--layouts/shortcodes/count-majors.html2
1 files changed, 2 insertions, 0 deletions
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 }}