You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should only include the anchor part (e.g. #foo) and not the .RelPermalink to the current page. I'm not totally sure how the different browsers handle this, but I'm pretty sure there's a difference.
With the current implementation, if a summary rendered on a list page contains a same-page link, the link will properly resolve to the containing page instead of doing nothing.
While monitoring the Network tab of Chrome's dev tools, I see no difference between #foo and /this/page/#foo... meaning there's zero network activity either way. The same is true in Firefox.
There may be some other side effect that I'm not aware of, but this approach seems to be fine.
In my head this
hugo/tpl/tplimpl/embedded/templates/_default/_markup/render-link.html
Line 4 in 3d40aba
Should only include the anchor part (e.g.
#foo
) and not the.RelPermalink
to the current page. I'm not totally sure how the different browsers handle this, but I'm pretty sure there's a difference.I noticed this surface on the forum, see https://discourse.gohugo.io/t/markdown-syntax-render/49835
/cc @jmooring
The text was updated successfully, but these errors were encountered: