Skip to content

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

Open
steven-hadfield wants to merge 1 commit intorhazdon:masterfrom
steven-hadfield:taxonomy-links
Open

Use ref function for building taxonomy URLs to support uglyURLs#402
steven-hadfield wants to merge 1 commit intorhazdon:masterfrom
steven-hadfield:taxonomy-links

Conversation

@steven-hadfield
Copy link
Copy Markdown

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