hugo-theme-pixyll
hugo-theme-pixyll copied to clipboard
Tags issue
Hello dear guys!
In file layouts/posts/summary.html
, line 14, <a href="{{ $baseurl }}{{ $.Site.LanguagePrefix }}/tags/{{ . }}">{{ . }}</a>
, I think it should be <a href="{{ $baseurl }}{{ $.Site.LanguagePrefix }}/tags/{{ . | lower}}/">{{ . }}</a>
when considering some tags may start with alphabet which is in uppercase. Besides, it should have a /
at the end inside the href
label, otherwise it cannot jump from the tags which locate in summary page.
The same issue occurs in file layout/posts/single.html
, line 20, <a href="{{ $baseurl }}{{ $.Site.LanguagePrefix }}/tags/{{ . }}">{{ . }}</a>
, which should be <a href="{{ $baseurl }}{{ $.Site.LanguagePrefix }}/tags/{{ . | lower}}/">{{ . }}</a>
.
I hope this doesn't bother you:) but the problems really occurs to me and after rewriting these 2 lines it works fine.
(btw.I really love this theme ❤️)
Sincerely, Jiabin