I've got a blog with an index-template looking like this:
<header class="entry-header">
<h1 class="entry-title">BLOG</h1>
</header>
<div class="entry-content">
{{outlet}}
</div>
I'm including the content itself inside the outlet (single-post, post-lists etc.). However I'd like to change the h1 of the template above according to the current route.
How would you do that?
Aucun commentaire:
Enregistrer un commentaire