-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Non-content entry to a menu with a relative URL produces a rendering error #1239
Comments
@spf13 - I think I'm gonna remove the transformation of the menu urls. It is a slightly breaking change, but it was a bad idea in the first place. People are smart enough to get the URLs correct. Agree? |
gunnaraasen
added a commit
to gunnaraasen/hugo
that referenced
this issue
Dec 2, 2015
bramp
pushed a commit
to bramp/hugo
that referenced
this issue
Dec 17, 2015
tychoish
pushed a commit
to tychoish/hugo
that referenced
this issue
Aug 13, 2017
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
bep
added a commit
to bep/hugo
that referenced
this issue
May 5, 2024
This is how we should have fixed gohugoio#1239. Fixes gohugoio#12456
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is a bug in non-content menu implementation that results in a broken link to a file if a relative URL is used in a config file menu entry. For example, if the
config.toml
file looks as follows:the rendered link to the .ppt file looks like
However, if the absolute URL is used instead of the relative one, the resulting URL is OK. i.e.
renders to
Related thread in Hugo Discussion is here.
The text was updated successfully, but these errors were encountered: