From 1f1afde6341e6db9db7111af4b37dfa450ad5c33 Mon Sep 17 00:00:00 2001 From: Daniel Hladek Date: Sat, 3 Oct 2020 17:01:21 +0200 Subject: [PATCH] zz --- .../mytheme/templates/partials/authorposts.html.twig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/themes/mytheme/templates/partials/authorposts.html.twig b/themes/mytheme/templates/partials/authorposts.html.twig index 67ad7e78..d323298f 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 %}