diff --git a/template/footer.htm b/template/footer.htm index c89ac89..0166861 100644 --- a/template/footer.htm +++ b/template/footer.htm @@ -33,7 +33,7 @@ local icon = { local function getLink(nav) local link = config[nav] - return (link ~= "none") and link or nil + return (link and link ~= "none") and link or nil end local num_links = 0 @@ -46,14 +46,23 @@ for i = 1, 6 do end local link_width = string.format("calc(100%% / %d)", num_links) +local blur_value = tonumber(config.blur) +local link_blur = string.format("blur(%dpx)", blur_value) +local background_color = config.color %>