Use a page as a home page

Hi there

I would like to use a page I created through the admin UI as the home page, Like, / redirecting to /home, period.

I know there’s a landing page doc, but I don’t want to create a static template of my own. No home.hbs or whatever. I’m perfectly fine with the page I made, and I want to be able to edit it now and then through the editor UI, editing a .hbs is out of question.

Tried many versions of this, with or without moving / collection to /posts to avoid a path collision, no luck

    template: page
    data: page.home

    permalink: /posts/{slug}/
    template: index

  tag: /tag/{slug}/
  author: /author/{slug}/

So, what’s the solution please ?


Hello @rgarrigue, in order to show a homepage like the page you just created, you need to follow this steps:

  1. Set the slug of the page to “home”
  2. Create a home.hbs file in the root of your folder, containing this code:
{{!< default }}
  1. Upload the compressed theme in “Design”
  2. Change this
    template: page
    data: page.home

to this:

    template: home
    data: page.home
  1. Voilà