Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have put main navigation to two different areas. In area A the blocks shows only level 1 menu items and on area B it shows from level 2 to N. Now I would like to use different twig template for these two blocks but it seems that they both just use the same template. Is there any way to make two separate templates or even identify these two blocks so that I could make some if-else to the template file?
First time using default value in node text fields (not in a form) and first time i need to assign a custom class if text fields is not filled.
I searched around the web but i have not found anything about this issue.
How can I show only "read more" link just in node teaser, and remove or unset other links like "add new comments" or "2 Comments" at the end of a node teaser?