fix indentation in output

This commit is contained in:
Valentin Gagarin 2024-11-13 15:24:41 +01:00 committed by Valentin Gagarin
parent 95f7e5e162
commit d4aa88f759

View file

@ -53,7 +53,7 @@ in
render-item = item: render-item = item:
if item ? menu then '' if item ? menu then ''
<li>${item.menu.label} <li>${item.menu.label}
${lib.indent " " (item.menu.outputs.html page)} ${lib.indent " " (item.menu.outputs.html page)}
</li> </li>
'' ''
else if item ? page then ''<li><a href="${page.link item.page}">${item.page.title}</a></li>'' else if item ? page then ''<li><a href="${page.link item.page}">${item.page.title}</a></li>''