Fix sidebar languages listing
This commit is contained in:
parent
41f922f1a1
commit
f71071185d
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
<div class="language-container container-block">
|
<div class="language-container container-block">
|
||||||
<h2 class="container-block-title">{{ i18n "language" }}</h2>
|
<h2 class="container-block-title">{{ i18n "language" }}</h2>
|
||||||
<ul class="list-unstyled interests-list">
|
<ul class="list-unstyled interests-list">
|
||||||
{{ range .Site.Params.language.list }}
|
{{ range .Site.Params.languages.list }}
|
||||||
<li>{{ .language }} <span class="lang-desc">({{ .level }})</span></li>
|
<li>{{ .language }} <span class="lang-desc">({{ .level }})</span></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
|
@ -14,8 +14,8 @@
|
||||||
{{ partial "education.html" . }}
|
{{ partial "education.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.language.enable }}
|
{{ if .Site.Params.languages.enable }}
|
||||||
{{ partial "language.html" . }}
|
{{ partial "languages.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.interests.enable }}
|
{{ if .Site.Params.interests.enable }}
|
||||||
|
|
Loading…
Reference in a new issue