mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 18:41:37 +01:00
Refine code
This commit is contained in:
parent
3b03643a20
commit
6a21a64488
@ -14,7 +14,8 @@
|
|||||||
<footer class="post-footer">
|
<footer class="post-footer">
|
||||||
<ul class="post-tags">
|
<ul class="post-tags">
|
||||||
{{ range .Params.tags }}
|
{{ range .Params.tags }}
|
||||||
<li><a href="{{ "tags/" | absURL }}{{ . | urlize }}/">{{ . }}</a></li>
|
{{ $href := print (absURL "tags/") (urlize .) }}
|
||||||
|
<li><a href="{{ $href }}">{{ . }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
|
Loading…
Reference in New Issue
Block a user