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?
How can I show node Hits (statistics_counter) in Drupal 8 in specific place?
I want to show user hits of a node (article) in submitted area rather than the end of a node in node links area? I do this already in drupal 7 with this code: <?php print (int) $content['links']['statistics']['#links']['statistics_counter']['title']; ?> in node.tpl.php file
but i want to know how to convert this code to drupal 8 version.