diff --git a/themes/mytheme/templates/partials/authorposts.html.twig b/themes/mytheme/templates/partials/authorposts.html.twig index 67ad7e78dc..d323298fe9 100644 --- a/themes/mytheme/templates/partials/authorposts.html.twig +++ b/themes/mytheme/templates/partials/authorposts.html.twig @@ -10,6 +10,16 @@ {% set catlist = tmplst %} {% endif %} +{% for cat in catlist %} +

{{ cat }}

+ {% set catpages = taxonomy.findTaxonomy({'author': author,'category':cat}).order('date', 'desc') %} + +{% endfor %} + {% set pages = taxonomy.findTaxonomy({'author': author}).order('date', 'desc') %} {% set tmplst = [] %} {% for page in pages %}