Revert + fix language var names in exampleSite/config.toml
This commit is contained in:
parent
f71071185d
commit
726321bac3
3 changed files with 7 additions and 7 deletions
|
@ -90,19 +90,19 @@ disable404 = true
|
||||||
dates = "2007 - 2011"
|
dates = "2007 - 2011"
|
||||||
|
|
||||||
# Languages section
|
# Languages section
|
||||||
[params.languages]
|
[params.language]
|
||||||
enable = true
|
enable = true
|
||||||
title = "Languages"
|
title = "Languages"
|
||||||
|
|
||||||
[[params.languages.list]]
|
[[params.language.list]]
|
||||||
language = "English"
|
language = "English"
|
||||||
level = "Native"
|
level = "Native"
|
||||||
|
|
||||||
[[params.languages.list]]
|
[[params.language.list]]
|
||||||
language = "French"
|
language = "French"
|
||||||
level = "Professional"
|
level = "Professional"
|
||||||
|
|
||||||
[[params.languages.list]]
|
[[params.language.list]]
|
||||||
language = "Russian"
|
language = "Russian"
|
||||||
level = "Professional"
|
level = "Professional"
|
||||||
|
|
||||||
|
|
|
@ -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.languages.list }}
|
{{ range .Site.Params.language.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.languages.enable }}
|
{{ if .Site.Params.language.enable }}
|
||||||
{{ partial "languages.html" . }}
|
{{ partial "language.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.interests.enable }}
|
{{ if .Site.Params.interests.enable }}
|
||||||
|
|
Loading…
Reference in a new issue