diff --git a/themes/mytheme/mytheme.yaml b/themes/mytheme/mytheme.yaml index fe60e5af..612dc605 100644 --- a/themes/mytheme/mytheme.yaml +++ b/themes/mytheme/mytheme.yaml @@ -21,6 +21,6 @@ params: sidebar: # params for the sidebar maxentries: 5 # maximum number of articles to display in "Popular" and "Latest" sections show: - categories: false # show Category list in the sidebar + categories: true # show Category list in the sidebar popular: true # show the Popular Articles sidebar latest: true # show the Latest Articles sidebar diff --git a/themes/mytheme/templates/partials/authorposts.html.twig b/themes/mytheme/templates/partials/authorposts.html.twig index dd0e3bb2..e84d6af9 100644 --- a/themes/mytheme/templates/partials/authorposts.html.twig +++ b/themes/mytheme/templates/partials/authorposts.html.twig @@ -13,10 +13,8 @@ {% set pages = taxonomy.findTaxonomy({'author': author}).order('date', 'desc') %} {% set tmplst = [] %}

{{ author }}

- -{% set pages = tmplst|slice(0,10) %} +{% set pages = tmplst|slice(0,maxcount) %}