move translation buttons location
This commit is contained in:
parent
43d5587f8d
commit
dcc2ec0ab3
2 changed files with 7 additions and 10 deletions
|
@ -2,4 +2,11 @@
|
||||||
<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>
|
<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-->
|
</div><!--//profile-container-->
|
||||||
|
|
|
@ -1,15 +1,5 @@
|
||||||
<div class="sidebar-wrapper">
|
<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" . }}
|
{{ partial "profile.html" . }}
|
||||||
|
|
||||||
{{ if .Site.Params.contact.enable }}
|
{{ if .Site.Params.contact.enable }}
|
||||||
|
|
Loading…
Reference in a new issue