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

Use ref function for building taxonomy URLs to support uglyURLs #402

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

steven-hadfield
Copy link

Currently, the template assumes that uglyURLs = false and that URLs should end with /.
This MR changes links to use rel to generate the links instead to allow links to be rendered correctly regardless of the value for uglyURLs.

Note that this imposes a restriction that there is no overlap between tags and categories (but Hugo may be enforcing this already).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant