motyl

Opinionated blog-aware static site generator written in Ruby
Log | Files | Refs | README | LICENSE

commit 51f14abbbaf2660b5eab6291551d8e993de3fa84
parent a954cc0c78d7b819497114279704938e960fe69f
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed,  9 Mar 2016 23:05:16 +0100

Loading templates from the project 'themes' directory

Diffstat:
Msrc/motyl.lua | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/motyl.lua b/src/motyl.lua @@ -70,12 +70,12 @@ data.site.year = os.date('%Y') -- Loading templates local templates = { - header = readFile("templates/header.mustache"), - archives = readFile("templates/archives.mustache"), - atom = readFile("templates/atom.mustache"), - pages = readFile("templates/page.mustache"), - posts = readFile("templates/post.mustache"), - footer = readFile("templates/footer.mustache") + header = readFile("themes/templates/header.mustache"), + archives = readFile("themes/templates/archives.mustache"), + atom = readFile("themes/templates/atom.mustache"), + pages = readFile("themes/templates/page.mustache"), + posts = readFile("themes/templates/post.mustache"), + footer = readFile("themes/templates/footer.mustache") } data.site.feed = {}