diff options
author | Alejandro <alex.mac.fon@gmail.com> | 2024-08-03 22:26:26 -0600 |
---|---|---|
committer | Alejandro <alex.mac.fon@gmail.com> | 2024-08-03 22:26:26 -0600 |
commit | cfcd321faf52f5cc5d776363f5d03c8b59fea0b6 (patch) | |
tree | 05bf059d647d38ac706b47771361966d5235b2ef | |
parent | e75ba9fd224225651638fc54da8b42974554b773 (diff) |
modified: count with tags
-rw-r--r-- | layouts/shortcodes/count-doctorados.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/shortcodes/count-doctorados.html b/layouts/shortcodes/count-doctorados.html index d2d1794..33192bb 100644 --- a/layouts/shortcodes/count-doctorados.html +++ b/layouts/shortcodes/count-doctorados.html @@ -1 +1,2 @@ -{{ len (where .Site.RegularPages "Section" "==" "doctorado") }} +{{ $p := where site.RegularPages "Params.tags" "intersect" (slice "phd") }} +{{ len $p }} |