generate tag links with trailing slash
Since all post URIs are generated with a trailing slash, I thought it would be a good idea to do the same for tag links. This can save a few I/O operations here and there (or, depending on your webhoster, even get rid of redirects).
This commit is contained in:
parent
82e3c691f3
commit
3d675e36c5
3 changed files with 7 additions and 7 deletions
|
|
@ -34,7 +34,7 @@
|
|||
{{ if .Params.tags }}
|
||||
<span class="post-meta">
|
||||
{{ range .Params.tags }}
|
||||
#<a href="{{ $.Site.LanguagePrefix }}/tags/{{ . | urlize }}">{{ . }}</a>
|
||||
#<a href="{{ $.Site.LanguagePrefix }}/tags/{{ . | urlize }}/">{{ . }}</a>
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue