diff options
-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 }} |