Closed MxGeMo closed 1 year ago
Hi @MxGeMo there is a param called omit_header_text
this ensures the hero image does not have any text in it. With this, no more duplication, only the title closest to the content will appear.
Now, without omit_header_text
, the title will always appear twice this is by design. But after #585, will make sure there is only one H1.
When I use featured image, then the page title is output twice.![2022-10-06_08h02_21](https://user-images.githubusercontent.com/42710284/194227298-3bdd942e-c3da-49b2-88d8-ff219caed3ff.png)
The reason is a different handling in \themes\ananke\layouts\partials\page-header.html when featured image is defined:![2022-10-06_07h44_37](https://user-images.githubusercontent.com/42710284/194224104-6f1eb035-c3b7-405d-b5e6-b0f81f94742d.png)
I could suppress this double page title when I add an own single.html in \layouts\page\single.html
but so I do not participate on future updates of the official theme for the single.html.
But would it not better to make this adjustments in \themes\ananke\layouts\page\single.html