Sign in

Hide Hero Section on Frontpage via Theme Override?

#1122
Tomasz Dziuda
Moderator

Hi,

Under index.hbs you have the following code:

`{{#if @config.custom.textHero}}

{{{@config.custom.textHero}}}

{{ translate ‘frontpage.publishedBy’ }}
{{siteOwner.name}}

{{ translate ‘frontpage.refreshed’ }}

{{/if}}`

If you will make empty option Hero section -> Hero Text then it should disappear without editing the theme.

 

--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!