Skip to content

Latest commit

 

History

History
110 lines (78 loc) · 2.53 KB

home.md

File metadata and controls

110 lines (78 loc) · 2.53 KB

Home Page

Mapache has 5 different home pages

  1. Default index.hbs
  2. Blog godo-home-blog.hbs
  3. Travel godo-home-travel.hbs
  4. Fashion godo-home-fashion-concept
  5. 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 line collections -> template
  • After doing the changes, save the file and upload again.
  • If do not observe changes restart ghost

Default

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.

home-default

Blog

Beautiful and elegant post style

home-blog

## routes.yaml
routes:

collections:
  /:
    permalink: /{slug}/
    template: godo-home-blog
    limit: 10

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

Travel

If you love to travel or you like photography, this is ideal for you. this template has a very large featured post

home-travel

## routes.yaml
routes:

collections:
  /:
    permalink: /{slug}/
    template: godo-home-travel

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

Fashion

It is dedicated to show post about fashion, the first three are featured posts.

home-fashion

## routes.yaml
routes:

collections:
  /:
    permalink: /{slug}/
    template: godo-home-fashion-concept
    limit: 12

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

Personal

A very simple template for personal use showing information on the home page with a large image covering the background.

home-personal-01

  • 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}/