summaryrefslogtreecommitdiff
path: root/support/make4ht/extensions/staticsite.lua
diff options
context:
space:
mode:
Diffstat (limited to 'support/make4ht/extensions/staticsite.lua')
-rw-r--r--support/make4ht/extensions/staticsite.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/make4ht/extensions/staticsite.lua b/support/make4ht/extensions/staticsite.lua
index fcb6c09e17..a4204bc173 100644
--- a/support/make4ht/extensions/staticsite.lua
+++ b/support/make4ht/extensions/staticsite.lua
@@ -1,6 +1,7 @@
local M = {}
local filter = require "make4ht-filter"
local mkutils = require "mkutils"
+local log = logging.new "staticsite"
-- get the published file name
local function get_slug(settings)
@@ -15,7 +16,7 @@ local function get_slug(settings)
local f = io.open(published_name, "r")
local readtime = f:read("*line")
time = tonumber(readtime)
- print("Already pubslished", slug)
+ log:info("Already pubslished", slug)
f:close()
else
-- escape