One of the features that is nice to include within your layout is to show the page name and/or description dynamically. That way someone can manage the info from the page layout and not within any blocks or code.
To do that, make sure to include the following code (or your variation of it) within your page layout.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="breadcrumb"> | |
<a href="${current_page.getURLSuffix()}.do">${current_page.getName()}</a> | |
</div> | |
<!– You can also include the page description in the same manor by using the code below –> | |
<j:if test="${current_page.getDescription.getDisplayValue()!=''}"> | |
<p class="page_description">${current_page.getDescription()}</p> | |
</j:if> |