Skip to content

Instantly share code, notes, and snippets.

@davedub
Created March 14, 2020 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davedub/90b647a6dbd24e8a5302c56b6008b9dd to your computer and use it in GitHub Desktop.
Save davedub/90b647a6dbd24e8a5302c56b6008b9dd to your computer and use it in GitHub Desktop.
#custom routes in giglawbusdev.com
routes:
/:
template: home
data: page.home
/about/:
template: about
data: page.about
/contact/:
template: contact
data: page.contact
/blog/:
template: index
data: post.index
/blog/{slug}/:
template: blogpost
collections:
/blog/:
permalink: /blog/{slug}/
template: index
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment