Vous n'êtes pas identifié(e).
13 février 2024 Sortie de Dotclear 2.29
Pages : 1
Hors ligne
Hello
The "read more" link appears in posts lists (such as categories) when the excerpt field is not empty.
Hors ligne
Hors ligne
OK. Sorry I do not know Berlin that well ;)
I checked and saw that it relies on currywurst template and that layout.html (which Berlin inherits) has a LoopPosition template tag for posts after the very first one. In that loop, second and following posts are treated differently from first.
If you want to modify this behaviour, you will have to make your own copy of Berlin (as a child theme or as an independant one) to be able to add your tweaked version of layout.html (or home.html only). Do not hesitate to ask if you have doubts about how to do it.
Hors ligne
Berlin herits from currywurst template set, which means that any template file it does not have in its tpl folder is taken in the currywurst template set.
If you want a different home.html, just copy it from currywurst set into Berlins's tpl folder, and make your changes there. When home.html is called (ie when you visit your home page), the new file will be used instead of the one in the template set.
Hors ligne
No need to apologise, it is a bit confusing if you are new to dotclear and template inheritance, but you will discover that it is a very powerful system ;)
The default template sets are located in /dotclear/inc/public/default-templates/
Hors ligne
Pages : 1
Vous n'êtes pas identifié(e).