ferron

Ferron is a fast and simple static website generator made with Lua.
Log | Files | Refs | Submodules | README | LICENSE

commit e11273df662dae3a96a1f8642e3c998801b78017
parent a327673075c516d37a3228c26b284a5a41711d69
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Wed, 22 Nov 2017 16:01:31 -0500

Change output messages.

Diffstat:
Mfunctions/make-atom-feed.lua | 6++++--
Mfunctions/move-to-publichtml.lua | 2+-
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/functions/make-atom-feed.lua b/functions/make-atom-feed.lua @@ -10,6 +10,8 @@ local function makeatomfeed() local feedpartials = path.isdir(Ferron.site.path .. Ferron.site.config.SITE.PATHS.TEMPLATES .. "/partials") local feedfile = Ferron.site.path .. Ferron.site.config.SITE.PATHS.HTML .. "/feed.atom.xml" + print("§ Make an ATOM feed with all the pages of the site:") + feed["SITE"] = Ferron.site.config.SITE feed["entries"] = {} @@ -28,9 +30,9 @@ local function makeatomfeed() ) if path.isfile(feedfile) ~= false then - print("¤ /feed.atom.xml - created") + print(" ¬ /feed.atom.xml - created") else - print("!! /feed.atom.xml - error!") + print(" !! /feed.atom.xml - error!") end print("==========") diff --git a/functions/move-to-publichtml.lua b/functions/move-to-publichtml.lua @@ -40,7 +40,7 @@ local function movetopublichtml() -- Copy the entire `SITE.PATHS.STATIC` folder in `SITE.PATHS.HTML` path.copy(Ferron.site.path .. Ferron.site.config.SITE.PATHS.STATIC .. "/*", Ferron.site.path .. Ferron.site.config.SITE.PATHS.HTML, {recurse = true}) - print("Your site is ready at " .. Ferron.site.path .. Ferron.site.config.SITE.PATHS.HTML) + print("¤¤ Your site is ready at `" .. Ferron.site.path .. Ferron.site.config.SITE.PATHS.HTML .. "` ¤¤") end return movetopublichtml