1
0
Fork 0

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