summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-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>