diff options
author | Alejandro <[email protected]> | 2024-08-14 12:42:59 -0600 |
---|---|---|
committer | Alejandro <[email protected]> | 2024-08-14 12:42:59 -0600 |
commit | 38c923dacfe2154d5616e60899dd7a266f9ec041 (patch) | |
tree | 2877ca0c3762a69b7fa2ce646b11f3067d3d00ca /layouts/shortcodes/list-common-subjects.html | |
parent | 4fbb8fa916baa74e214befcb598db92746abbd3b (diff) |
added: listing common subjects shortcode
Diffstat (limited to 'layouts/shortcodes/list-common-subjects.html')
-rw-r--r-- | layouts/shortcodes/list-common-subjects.html | 6 |
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> |