Commit b74166f6 authored by sbiego's avatar sbiego

first multilingual commit, style and icons list added

parent 208f915e
......@@ -2,8 +2,6 @@ baseurl = "http://flowin.space/elpoblet/"
title = "elPoblet | Cooperativa"
theme = "hugo-universal-theme"
languageCode = "en-us"
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "ca"
# Enable comments by entering your Disqus shortname
# disqusShortname = "elpoblet"
# Enable Google Analytics by entering your tracking code
......@@ -12,6 +10,46 @@ defaultContentLanguage = "ca"
# Define the number of posts per page
paginate = 10
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "ca"
enableMissingTranslationPlaceholders = "true"
[Languages.ca]
weight = 1
# title = "Cataldddà"
label = "Cataldddà"
[Languages.es]
weight = 2
# title = "Castellano"
label = "Castellano"
[Languages.it]
weight = 3
# title = "Italiano"
label = "Italiano"
[Languages.en]
weight = 4
# title = "English"
label = "English"
[Languages.en.blackfriday]
angledQuotes = false
[Languages.de]
weight = 5
# title = "Deutsch"
label = "Deutsch"
[Languages.fr]
weight = 6
# title = "Français"
label = "Français"
[Languages.fr.Taxonomies]
plaque = "plaques"
[menu]
# Main menu
......
......@@ -76,6 +76,13 @@
</div>
{{ end }} -->
{{ if .Site.IsMultiLingual }}
<ul id="langs">
{{ range .Site.Languages }}
<a href="{{ delimit (slice "/" .) "" }}" id="{{ . }}"><li class="lang">{{ . }}</li></a>
{{ end }}
</ul>
{{ end }}
</footer>
......
......@@ -729,3 +729,36 @@ section#banner_logo::after {
text-align: justify;
color: #333;
}
ul#langs {
position: relative;
margin-bottom: 0;
padding-left: 20px;
}
ul#langs li.lang {
display: inline-block;
list-style: circle;
height: 27px;
width: 27px;
text-align: center;
padding: 3px;
margin-right: 4px;
/*background: url('../img/wood_texture.png');*/
/*border-radius: 5px 5px 0 0;*/
border-radius: 20px;
/*background-color: #68091a;*/
background-color: #940F27;
/*background-color: rgba(0,0,0,.1);*/
/*color: #940F27;*/
color: #fff;
transition: all .5s .15s;
box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.7);
opacity: .7;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
ul#langs li.lang:hover, ul#langs li.lang:active, ul#langs li.lang:focus {
/*padding: 2px 16px;*/
transform: translateY(-4px);
transition: all .3s;
opacity: 1;
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment