Last active
July 7, 2019 16:26
-
-
Save ringmaster/00cf8cad0562c5ea396756d6cf389d7a to your computer and use it in GitHub Desktop.
Eldir config example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title = "Eldir Config" | |
# all paths are relative to this file and represent directories in which files are found | |
[repos.posts] | |
path = "posts" | |
[repos.pages] | |
path = "pages" | |
[routes] | |
[routes.index] | |
# route is the URL for the page | |
# parameters on the route filter the posts from the specified repo | |
route = "/" | |
repos = ["posts"] | |
template = "index" | |
[routes.year] | |
route = "/:year" | |
repos = ["posts"] | |
template = "multi" | |
[routes.month] | |
route = "/:year/:month" | |
repos = ["posts"] | |
template = "multi" | |
[routes.single] | |
route = "/:year/:month/:slug" | |
repos = ["posts"] | |
template = "single" | |
[routes.pages] | |
route = "/:slug" | |
repos = ["pages"] | |
template = "page" | |
[templates] | |
path = "templates/current" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment