Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Static home page on a theme

  • #7139
    Avatar photo[anonymous]

    Hi,

    May I ask:

    Is it possible (is there any ways) to set a static home page for a theme on Publii?

    For example, a static introductory home page instead of the blog roll or blog feed.

    Thanks,

    Van Jung

    #7140
    Avatar photoBob

    It’s; just edit the index.hbs file ‎⁨located in: Documents ▸ ⁨Publii⁩ ▸ ⁨sites⁩ ▸ ⁨YOUR_SITE ▸ ⁨input⁩ ▸ ⁨themes⁩ ▸ ⁨YOUR_THEME

    To preserve your custom code and prevent it being overwritten the next time the theme is updated, please ensure that you have created override files; these are, essentially, copies of the existing theme files that are stored separately from the main theme fileshttps://getpublii.com/dev/theme-overrides/

    Alternatively, you can display the post on the frontpage (look into the theme settings: layout -> front page options)  and modify its content to your needs.

    #7141
    Avatar photo[anonymous]

    Thank you Bob, I appreciate it.