motyl

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

commit d5b5e9f4634231d257bcc7fdf478d00d1d1eee81
parent 7d45a5b2b2d6edf2bae47aa042d6acaf0b7ea642
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri,  4 Mar 2016 22:43:19 +0100

Adding correct URL prefix in canonical meta tags for categories

Diffstat:
Mmotyl.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/motyl.lua b/motyl.lua @@ -141,7 +141,7 @@ for category in pairs(data.site.categories) do table.sort(data.site.categories[category], sortDates) data.page.title = category - data.page.url = categoryURL + data.page.url = "categories/" .. categoryURL data.site.posts = data.site.categories[category] output = renderTemplate(templates.archives, data, templates)