Commit 6642d66e by sbiego

better try multilingua

parent 895b9019
baseurl = "/elpoblet/"
baseurl = "http://flowin.space/elpoblet/"
title = "elPoblet | Cooperativa"
theme = "hugo-universal-theme"
languageCode = "en-us"
languageCode = "ca-es"
relativeURLs = false
# Enable comments by entering your Disqus shortname
# disqusShortname = "elpoblet"
......@@ -12,89 +12,9 @@ relativeURLs = false
paginate = 5
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "ca"
# enableMissingTranslationPlaceholders = "true"
[Languages.ca]
weight = 1
# title = "Català"
languageName = "Català"
[Languages.es]
weight = 2
# title = "Castellano"
languageName = "Castellano"
[Languages.it]
weight = 3
# title = "Italiano"
languageName = "Italiano"
[Languages.en]
weight = 4
# title = "English"
languageName = "English"
[Languages.en.blackfriday]
angledQuotes = false
[[languages.en.menu.main]]
name = "About"
url = "/about"
weight = 1
[[languages.en.menu.main]]
name = "Services"
url = "/aboutmd"
weight = 2
[[languages.en.menu.main]]
name = "Partecipate"
url = "/participa"
weight = 3
[[languages.en.menu.main]]
name = "Contact"
url = "/contact/"
weight = 4
[Languages.de]
weight = 5
# title = "Deutsch"
languageName = "Deutsch"
[Languages.fr]
weight = 6
# title = "Français"
languageName = "Français"
[Languages.fr.Taxonomies]
plaque = "plaques"
[menu]
# Main menu
[[menu.main]]
name = "¿Quiénes somos?"
url = "/about"
weight = 1
[[menu.main]]
name = "Servicios"
url = "/aboutmd"
weight = 2
[[menu.main]]
name = "Participa"
url = "/participa"
weight = 3
[[menu.main]]
name = "Contacto"
url = "/contact/"
weight = 4
# Main menu into respective languages sections
# Top bar social links menu THAT ARE NOW INTO THE FOOTER
......@@ -175,12 +95,118 @@ defaultContentLanguage = "ca"
latitude = "-12.043333"
longitude = "-77.028333"
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "ca"
defaultContentLanguageInSubdir = true
# enableMissingTranslationPlaceholders = "true"
#catalan
[languages.ca]
weight = 1
languageName = "Català"
[[languages.ca.menu.main]]
name = "¿Quiénes somos?"
url = "/about"
weight = 1
[[languages.ca.menu.main]]
name = "Servicios"
url = "/aboutmd"
weight = 2
[[languages.ca.menu.main]]
name = "Participa"
url = "/participa"
weight = 3
[[languages.ca.menu.main]]
name = "Contacto"
url = "/contact/"
weight = 4
#spanish
[languages.es]
weight = 2
languageName = "Castellano"
#italian
[languages.it]
weight = 3
languageName = "Italiano"
#english
[languages.en]
weight = 4
languageName = "English"
[[languages.en.menu.main]]
name = "About"
url = "/about"
weight = 1
[[languages.en.menu.main]]
name = "Services"
url = "/aboutmd"
weight = 2
[[languages.en.menu.main]]
name = "Partecipate"
url = "/participa"
weight = 3
[[languages.en.menu.main]]
name = "Contact"
url = "/contact/"
weight = 4
#german
[languages.de]
weight = 5
languageName = "Deutsch"
#french
[languages.fr]
weight = 6
languageName = "Français"
[[languages.fr.menu.main]]
name = "Abt"
url = "/about"
weight = 1
[[languages.fr.menu.main]]
name = "Sees"
url = "/aboutmd"
weight = 2
[[languages.fr.menu.main]]
name = "Papate"
url = "/participa"
weight = 3
[[languages.fr.menu.main]]
name = "Coct"
url = "/contact/"
weight = 4
[[languages.fr.params.recent_posts]]
title = "From our blog fr"
subtitle = "Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. frfrfrfrfrfrfr"
[Permalinks]
blog = "/blog/:year/:month/:day/:filename/"
# Enable or disable top bar with social icons
[params.topbar]
enable = true
enable = false
text = """<p class="hidden-sm hidden-xs">Contact us on <a href="tel:+666">+666</a> or <a href="mailto:"info@elpoblet.org">info@elpoblet.org</a>.</p>
<p class="hidden-md hidden-lg"><a href="#" data-animate-hover="pulse"><i class="fa fa-phone"></i></a>
<a href="#" data-animate-hover="pulse"><i class="fa fa-envelope"></i></a>
......@@ -191,7 +217,8 @@ defaultContentLanguage = "ca"
[params.widgets]
categories = true
tags = true
search = true
# search = true
search = false
[params.carousel]
enable = true
......
+++
title = "Go is for lovers"
title = "Go is for lovers ITALIANO"
date = "2015-09-17T13:47:08+02:00"
tags = ["go"]
categories = ["programming"]
......
---
title: "Contact fr"
title: "Contact en"
date: 2017-09-17T20:52:07+02:00
draft: false
---
== Contacto fr
== Contacto en
¿Te ha parecido interesante esta iniciativa? Siempre has querido poner tu granito de arena, pero nunca has encontrado el tiempo o lugar indicados. ¡Acércarte a nosotr@s e infórmarte!
......
......@@ -4,6 +4,7 @@ date: 2017-09-17T19:33:48+02:00
draft: false
---
*¿Porqué participar?*
1. Para ayudarnos a difundir valores como la cooperación, ayuda mutua, solidaridad, bienestar y salud.
......
weight: 2
weight: 3
name: "services 1"
icon: "fa fa-envelope-o"
description: "Advantage old had otherwise sincerity dependent additions. It in adapted natural hastily is justice. Six draw you him full not mean evil."
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