Commit aeecca16 authored by echicken's avatar echicken 🐔
Browse files

Include path component of .link pages in menus/submenus.

Probably resolves the "Invalid page" problem reported by W6RAY.
parent 7e5ab9ab
......@@ -19,7 +19,7 @@
?>
<li>
<?xjs if (e.type == 'link') { ?>
<a class="dropdown-item" href="./?page=<?xjs write(e.page); ?>" target="_blank">
<a class="dropdown-item" href="./?page=<?xjs write((path || '') + e.page); ?>" target="_blank">
<?xjs } else { ?>
<a class="dropdown-item" href="./?page=<?xjs write((path || '') + e.page); ?>">
<?xjs } ?>
......
  • That did indeed resolve the issue. The .link files work as they should.

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment