fix: fix tag bug

This commit is contained in:
Dillon ZENG
2019-08-06 11:42:24 +08:00
parent 95aeca1c41
commit 30c31959ed
2 changed files with 6 additions and 5 deletions

View File

@@ -1,14 +1,14 @@
{{ with .Site.Params.Social.Github }} {{ with .Site.Params.Social.Github }}
<a href="https://github.com/{{.}}" target="_blank" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-github"></i></a> <a href="https://github.com/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-github"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.Social.LinkedIn }} {{ with .Site.Params.Social.LinkedIn }}
<a href="https://linkedin.com/in/{{.}}" target="_blank" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-linkedin"></i></a> <a href="https://linkedin.com/in/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-linkedin"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.Social.Twitter }} {{ with .Site.Params.Social.Twitter }}
<a href="https://twitter.com/{{.}}" target="_blank" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-twitter"></i></a> <a href="https://twitter.com/{{.}}" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-twitter"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.Social.Instagram }} {{ with .Site.Params.Social.Instagram }}
<a href="https://www.instagram.com/{{.}}/" target="_blank" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-instagram"></i></a> <a href="https://www.instagram.com/{{.}}/" rel="me noopener noreffer" target="_blank"><i class="iconfont icon-instagram"></i></a>
{{ end }} {{ end }}
{{ with .Site.Params.Social.Email}} {{ with .Site.Params.Social.Email}}
<a href="mailto:{{.}}" rel="me noopener noreffer"><i class="iconfont icon-mail" target="_blank"></i></a> <a href="mailto:{{.}}" rel="me noopener noreffer"><i class="iconfont icon-mail" target="_blank"></i></a>

View File

@@ -92,7 +92,8 @@
</section> </section>
{{ end }} {{ end }}
<section> <section>
<a href="javascript:window.history.back();">{{ T "back" }}</a></span> · <span><a href="javascript:window.history.back();">{{ T "back" }</a></span>
|
<span><a href="{{ .Site.BaseURL }}">{{ T "home" }}</a></span> <span><a href="{{ .Site.BaseURL }}">{{ T "home" }}</a></span>
</section> </section>
</div> </div>