We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I like to use tags with spaces; also capitalisation matters. A fix as per Hugo docs:
diff --git a/themes/codex/layouts/partials/browse-by-tag.html b/themes/codex/layouts/partials/browse-by-tag.html index 65a3550..5990af7 100644 --- a/themes/codex/layouts/partials/browse-by-tag.html +++ b/themes/codex/layouts/partials/browse-by-tag.html @@ -1,7 +1,7 @@ <ul class="tags__list"> - {{ range $tag, $value := $.Site.Taxonomies.tags }} + {{ range $.Site.Taxonomies.tags }} <li class="tag__item"> - <a class="tag__link" href="{{ "/tags/" | relLangURL}}{{ $tag | urlize }}/">{{ $tag }} ({{ len $value }})</a> + <a class="tag__link" href="{{ .Page.Permalink }}">{{ .Page.Title }} ({{ .Count }})</a> </li> {{ end }} </ul> diff --g
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I like to use tags with spaces; also capitalisation matters. A fix as per Hugo docs:
The text was updated successfully, but these errors were encountered: