Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu item hyperlinks have extra slash between base_url and slug #11

Open
justint opened this issue Sep 14, 2022 · 0 comments
Open

Menu item hyperlinks have extra slash between base_url and slug #11

justint opened this issue Sep 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@justint
Copy link
Owner

justint commented Sep 14, 2022

<nav>
 <ul>
  <li><a href="http://127.0.0.1:1111//projects">Projects</a></li>
  <li><a href="http://127.0.0.1:1111//blog">Blog</a></li>
  <li><a href="http://127.0.0.1:1111//tags">Tags</a></li>
  <li><a href="http://127.0.0.1:1111//about">About</a></li>
 </ul>
</nav>

This commit attempted to solve this problem, but introduced a new issue where the menu items would be missing a "/" inbetween the base url and the menu item slug (eg: justintennant.me/papayablog instead of justintennant.me/papaya/blog) for sites hosted within a directory of a domain (eg: justintennant.me/papaya). I've since reverted it until I can find a more elegant solution.

@justint justint added the bug Something isn't working label Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant