satelito

Static [web] site (or page) generator (ssg) made with Lua script.
git clone git://soucy.cc/satelito.git
Log | Files | Refs | README

commit 14bc58714f03dba752a32e6353067ad89bd84d7a
parent 8387cf072737d74bda2166f35aa1185c883451e6
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Wed, 30 Nov 2022 14:15:53 -0500

Rename a parameter

Diffstat:
Msatelito/sitemapxml.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/satelito/sitemapxml.lua b/satelito/sitemapxml.lua @@ -5,9 +5,9 @@ local etlua = require 'etlua' local file = require 'satelito.file' local template = require 'satelito.template' -function sitemapxml.make(sitemap, templates, destination) +function sitemapxml.make(sitedata, templates, destination) local _sitemapxml = etlua.compile(file.read(template.find(templates, 'sitemap.xml'))) - local sitemapxml_xml = _sitemapxml({sitemap = sitemap}) + local sitemapxml_xml = _sitemapxml({sitemap = sitedata}) local sitemapxml_xml_path = destination..'sitemap.xml' return sitemapxml_xml, sitemapxml_xml_path