getgrav / grav-skeleton-hpstr-site

HPSTR Grav Skeleton
https://getgrav.org
MIT License
11 stars 3 forks source link

Changing skeleton slightly #4

Closed cpopell closed 8 years ago

cpopell commented 8 years ago

If I want to change your 'posts' page to 'archive', and your 'blog' folder to 'posts', what do I need to do? I got the archive working by changing the folder name, the markdown file name, and the twig file name--but what do I need to change to make the homepage work again once I change things?

flaviocopes commented 8 years ago

You need to change the page title and page slug / folder name.

Markdown and Twig do not need to be changed, otherwise you'll also need to change the theme, which then puts you in the situation of having to create a child theme, as editing a theme is not ideal since you'll lose the ability to apply updates.

cpopell commented 8 years ago

What's the actual folder for the homepage? That's the only thing not working.

On Tue, Aug 9, 2016, 9:17 AM Flavio Copes notifications@github.com wrote:

You need to change the page title and page slug / folder name.

Markdown and Twig do not need to be changed, otherwise you'll also need to change the theme, which then puts you in the situation of having to create a child theme, as editing a theme is not ideal since you'll lose the ability to apply updates.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/getgrav/grav-skeleton-hpstr-site/issues/4#issuecomment-238549171, or mute the thread https://github.com/notifications/unsubscribe-auth/AGD571s1QNK3W-uVdgUp41kVIVgOPSL9ks5qeH3NgaJpZM4JfcmD .

flaviocopes commented 8 years ago

It depends. The home page is a page set in your System configuration (user/config/system.yaml) as "home.alias", or via the Admin plugin "Home page"