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"
|
||||
|
||||
# Languages section
|
||||
[params.languages]
|
||||
[params.language]
|
||||
enable = true
|
||||
title = "Languages"
|
||||
|
||||
[[params.languages.list]]
|
||||
[[params.language.list]]
|
||||
language = "English"
|
||||
level = "Native"
|
||||
|
||||
[[params.languages.list]]
|
||||
[[params.language.list]]
|
||||
language = "French"
|
||||
level = "Professional"
|
||||
|
||||
[[params.languages.list]]
|
||||
[[params.language.list]]
|
||||
language = "Russian"
|
||||
level = "Professional"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="language-container container-block">
|
||||
<h2 class="container-block-title">{{ i18n "language" }}</h2>
|
||||
<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>
|
||||
{{ end }}
|
||||
</ul>
|
|
@ -14,8 +14,8 @@
|
|||
{{ partial "education.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.languages.enable }}
|
||||
{{ partial "languages.html" . }}
|
||||
{{ if .Site.Params.language.enable }}
|
||||
{{ partial "language.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.interests.enable }}
|
||||
|
|
Loading…
Reference in a new issue