Mapache has 5 different home pages
- Default
index.hbs
- Blog
godo-home-blog.hbs
- Travel
godo-home-travel.hbs
- Fashion
godo-home-fashion-concept
- Personal
godo-home-personal.hbs
- First back up your
routes.yml
in your ghost settings Dashboard -> Labs -> Routes -> Download current routes.yml
- Re-download the Route and edit
routes.yml
linecollections -> template
- After doing the changes, save the file and upload again.
- If do not observe changes restart ghost
Default uses the index.hbs
template, the stories are arranged in a grid pattern. If you want to use this template you don't need to make any changes.
Beautiful and elegant post style
## routes.yaml
routes:
collections:
/:
permalink: /{slug}/
template: godo-home-blog
limit: 10
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
If you love to travel or you like photography, this is ideal for you. this template has a very large featured post
## routes.yaml
routes:
collections:
/:
permalink: /{slug}/
template: godo-home-travel
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
It is dedicated to show post about fashion, the first three are featured posts.
## routes.yaml
routes:
collections:
/:
permalink: /{slug}/
template: godo-home-fashion-concept
limit: 12
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
A very simple template for personal use showing information on the home page with a large image covering the background.
- Create a new page
- Choose your favorite title
- Use the
URL
->home-personal
## routes.yaml
routes:
collections:
/:
permalink: /{slug}/
data:
post: page.home-personal
template: godo-home-personal
limit: 12
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/