Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
node.tpl has a rather ugly
<?php }; ?>
Looks like this closes the if ($page == 0) much further up. An if: endif; would be cleaner to read.
Comments
Comment #1
restyler CreditAttribution: restyler commentedbrackets approach is not so ugly if you have editor with "highlight matching brace" - it helps a lot.
Comment #2
joachim CreditAttribution: joachim commentedThat's a fair point; but it's not what the core does in its templates.