Hello tom0360,
Thanks for your answers.
for 1/
I decide to let the order like it is in the folder, I’ve tried :
.dropmenu ul ul li:nth-of-type(1n+5) {display: none;}
in the file : user/themes/mytheme/css/custom.css
The effect is to reduce the number of pages, that’s good, but I would like the last ones and not the first ones of the folder’s pages :
user/pages/10.myfolder
witch contains the pages’s folders :
001.2020_01
002.2020_02
003.2020_03
004.2020_04
005.2020_05
006.2020_06
007.2020_07
008.2020_08
009.2020_09
010.2020_10
011.2020_11
012.2020_12
I would like to have 2020_09, 2020_10, 2020_11, 2020_12
I don’t understand the syntax “nth-of-type(1n+5)” and don’t know how to do to obtain the last pages.
for 2/
I didn’t succed anything at all…
I’ve tried in the page itself and after I tried to create a new template
user/themes/mytheme/templates/list_of_pages.html.twig
with the content :
{% extends 'partials/base.html.twig' %}
{% block content %}
{{ page.content|raw }}
my list of pages :
{% for p in page.collection %}
{{ p.title|e }}
{{ p.summary|raw }} {% endfor %}
{% endblock %}
but no list appears… which documentation pages can help me ?