urlize tag links
This commit is contained in:
parent
e5a1b723db
commit
b04acfefee
|
@ -16,7 +16,7 @@
|
||||||
<span> </span>
|
<span> </span>
|
||||||
<strong>Tags:</strong>
|
<strong>Tags:</strong>
|
||||||
{{ range .Params.tags }}
|
{{ range .Params.tags }}
|
||||||
<a href="/tags/{{ . }}">#{{ . }}</a>
|
<a href="/tags/{{ . | urlize }}">#{{ . }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
| <!-- Pipe character as visual separator between date and tags-->
|
| <!-- Pipe character as visual separator between date and tags-->
|
||||||
<span title="Tags"> </span>
|
<span title="Tags"> </span>
|
||||||
{{ range .Params.tags }}
|
{{ range .Params.tags }}
|
||||||
<a href="/tags/{{ . }}">#{{ . }}</a>
|
<a href="/tags/{{ . | urlize }}">#{{ . }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue