motyl

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

commit e5173bd3412dda2c9f265ea4837917a1042e15ac
parent 1004efaac967d617cae85d867cc14e795e8d41ea
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon,  8 Jan 2018 23:45:04 +0100

Use _ for ignored variable

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

diff --git a/src/motyl.lua b/src/motyl.lua @@ -108,7 +108,7 @@ local function render(directory) data.page.categoryDisplay = {} -- Populate category table - for i, category in ipairs(data.page.categories) do + for _, category in ipairs(data.page.categories) do if not data.site.categories[category] then data.site.categories[category] = {} end