Change .Site.BaseURL to absURL

This commit is contained in:
nanxiaobei committed 2019-06-10 06:44:15 +08:00
1 parent d9093afb2d
commit 67767c62c2
2 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@
{{ if .Params.tags }}
<ul class="post-tags">
{{ range .Params.tags }}
<li><a href="{{$.Site.BaseURL}}tags/{{ . | urlize }}/">{{ . }}</a></li>
<li><a href="{{ "tags/" | absURL }}{{ . | urlize }}/">{{ . }}</a></li>
{{ end }}
</ul>
{{ end }}