move translation buttons location

This commit is contained in:
Gibo 2016-12-02 02:50:07 +09:00
parent 43d5587f8d
commit dcc2ec0ab3
2 changed files with 7 additions and 10 deletions

View file

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

View file

@ -1,15 +1,5 @@
<div class="sidebar-wrapper">
{{ if .IsTranslated }}
<div class="contact-container container-block">
<ul class="list-unstyled contact-list">
{{ range .Translations }}
<li class="website" style="float: left;"><i class="fa fa-globe"></i><a href="{{ .Permalink }}">{{ .Lang }}</a>
{{ end }}
</ul>
</div><!--//contact-container-->
{{ end }}
{{ partial "profile.html" . }}
{{ if .Site.Params.contact.enable }}