Fix multilingual button invisible in hugo 0.18

This commit is contained in:
RGB 2016-12-20 20:14:16 +09:00
parent 9188c7571a
commit d4036a0287

View file

@ -2,11 +2,9 @@
<img class="profile" src="{{ .Site.BaseURL }}assets/images/{{ .Site.Params.profile.avatar }}" alt="" /> <img class="profile" src="{{ .Site.BaseURL }}assets/images/{{ .Site.Params.profile.avatar }}" alt="" />
<h1 class="name">{{ .Site.Params.profile.name }}</h1> <h1 class="name">{{ .Site.Params.profile.name }}</h1>
<h3 class="tagline">{{ .Site.Params.profile.tagline }}</h3><br/> <h3 class="tagline">{{ .Site.Params.profile.tagline }}</h3><br/>
{{ if .IsTranslated }}
<div class="tagline"> <div class="tagline">
{{ range .Translations }} {{ range .Translations }}
<i class="fa fa-globe"></i><a href="{{ .Permalink }}">{{ .Lang }}</a> <i class="fa fa-globe"></i><a href="{{ .Permalink }}">{{ .Lang }}</a>
{{ end }} {{ end }}
</div> </div>
{{ end }}
</div><!--//profile-container--> </div><!--//profile-container-->