How to create a page in locomotive cms without any parent page i.e. no parent

195 Views Asked by At

I am using locomotivecms and in locomotive, I have an index with child pages about-us and contact-us.

I need to create other pages without parents, but the page URLs are coming out like:

my_host_url/sitename/index
my_host_url/sitename/index/about-us
my_host_url/sitename/index/contact-us

What I would like is to create a page structure like this:

my_host_url/sitename/live

i.e. without parent.

1

There are 1 best solutions below

5
Shani On

enter image description hereif you are using wagon with locomotive you can use following command to generate pages

bundle exec wagon generate page live

or else you can simply create a page in app/views/pages/live.liquid and update the content accordingly