Sign in

Static home page on a theme

  • This topic has 2 replies, 2 voices, and was last updated 1 year, 6 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7139
    Avatar photovjvanjungg

    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.

    --
    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!

    #7141
    Avatar photovjvanjungg

    Thank you Bob, I appreciate it.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.