summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorAlejandro <[email protected]>2024-08-14 12:42:59 -0600
committerAlejandro <[email protected]>2024-08-14 12:42:59 -0600
commit38c923dacfe2154d5616e60899dd7a266f9ec041 (patch)
tree2877ca0c3762a69b7fa2ce646b11f3067d3d00ca /layouts/shortcodes
parent4fbb8fa916baa74e214befcb598db92746abbd3b (diff)
added: listing common subjects shortcode
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/list-common-subjects.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/shortcodes/list-common-subjects.html b/layouts/shortcodes/list-common-subjects.html
new file mode 100644
index 0000000..23de35f
--- /dev/null
+++ b/layouts/shortcodes/list-common-subjects.html
@@ -0,0 +1,6 @@
+<ul>
+{{ $p := where site.Pages "Params.tags" "intersect" (slice "common-subject") }}
+{{ range $p }}
+<li>{{.Title}}</li>
+{{end}}
+</ul>