Blog template: Having a different h1 and page titleSOLVE
Jun 8, 2017 10:07 AM
By default, the title shown on a blog detail template between h1 tags, would be coming from the content.name variable and thus be the same as the name of the blog (and page title). We wanted our h1 title to be different than the page title, so to solve this, we added a custom HubL text field in our template and rendered this between the h1 tags.
The only problem we are facing now, is achieving the same effect in the blog listing template since we can't render the same HuBL text field we used in the blog detail template for each blog (you can't access it by using content.custom_title_hubl_field for example).
Is there any solution for this? Thanks in advance!
Solved! Go to Solution.