🔒 Fix link

This commit is contained in:
nanxiaobei 2018-07-06 11:14:28 +08:00
parent a491f23e8d
commit 599fbd4e22

View File

@ -13,7 +13,7 @@
{{ if .Params.tags }}
<ul class="post-tags">
{{ range .Params.tags }}
<li><a href="{{$.Site.BaseURL}}tags/{{ . | urlize }}">{{ . }}</a></li>
<li><a href="{{$.Site.BaseURL}}tags/{{ . | urlize }}/">{{ . }}</a></li>
{{ end }}
</ul>
{{ end }}
@ -25,8 +25,7 @@
<script>
var disqus_shortname = '{{ .Site.DisqusShortname }}';
(function() { // DON'T EDIT BELOW THIS LINE
var d = document,
s = d.createElement('script');
var d = document, s = d.createElement('script');
s.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);