Skip to content

Commit

Permalink
fix(macros/AccessibilitySidebar): list subpages via en-US (#11259)
Browse files Browse the repository at this point in the history
Otherwise the macro fails if the entry page is not translated.
  • Loading branch information
caugner authored Jun 10, 2024
1 parent 43bde1c commit 96bad13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kumascript/macros/AccessibilitySidebar.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ async function renderSubsection(subsection) {
async function renderDirectory(directory) {
const path = `${baseURL}${directory}`;
const output = await template("ListSubpagesForSidebar", [path, true, true]);
const output = await template("ListSubpagesForSidebar", [directory, true, true]);
return output;
}
Expand Down

0 comments on commit 96bad13

Please sign in to comment.