diff options
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/count-licenciaturas.html | 1 | ||||
-rw-r--r-- | layouts/shortcodes/count-majors.html | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/layouts/shortcodes/count-licenciaturas.html b/layouts/shortcodes/count-licenciaturas.html deleted file mode 100644 index 620267d..0000000 --- a/layouts/shortcodes/count-licenciaturas.html +++ /dev/null @@ -1 +0,0 @@ -{{ len (where .Site.RegularPages "Section" "licenciatura") }} 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 }} |