fix(sidebar): lowercase section
This commit is contained in:
+5
-1
@@ -636,7 +636,11 @@ local function view_entry(s, entry, focus_left)
|
|||||||
local left = older_pane(s, entry)
|
local left = older_pane(s, entry)
|
||||||
local right = newer_pane(s, entry)
|
local right = newer_pane(s, entry)
|
||||||
if not left and not right then
|
if not left and not right then
|
||||||
util.warning("no content for %s entry: %s", entry.section, entry.path)
|
util.warning(
|
||||||
|
"no content for %s entry: %s",
|
||||||
|
string.lower(entry.section),
|
||||||
|
entry.path
|
||||||
|
)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user