Commit 668f7f72 authored by sbiego's avatar sbiego

social only in en

parent 20ab5ea6
......@@ -18,33 +18,33 @@ paginate = 5
# Top bar social links menu THAT ARE NOW INTO THE FOOTER
[[menu.topbar]]
[[languages.en.menu.topbar]]
weight = 1
name = "Retroshare"
url = "http://retroshare.net/"
# pre = "<i class='fa fa-2x fa-share-alt' aria-hidden='true'></i>"
pre = "<i class='fa fa-2x retroshare' aria-hidden='true'></i>"
[[menu.topbar]]
[[languages.en.menu.topbar]]
weight = 2
name = "GitLab"
url = "https://git.eigenlab.org/sbiego/web-elpoblet"
pre = "<i class='fa fa-2x fa-gitlab' aria-hidden='true'></i>"
# pre = "<i class='fa fa-2x fa-code-fork' aria-hidden='true'></i>"
[[menu.topbar]]
[[languages.en.menu.topbar]]
weight = 3
name = "Facebook"
url = "http://facebook.com"
pre = "<i class='fa fa-2x fa-facebook'></i>"
[[menu.topbar]]
[[languages.en.menu.topbar]]
weight = 4
name = "Twitter"
url = "http://twitter.com"
pre = "<i class='fa fa-2x fa-twitter'></i>"
[[menu.topbar]]
[[languages.en.menu.topbar]]
weight = 5
name = "Email"
url = "mailto:info@elpoblet.org"
......@@ -98,8 +98,8 @@ paginate = 5
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "ca"
defaultContentLanguageInSubdir = true
enableMissingTranslationPlaceholders = "true"
defaultContentLanguageInSubdir = false
enableMissingTranslationPlaceholders = true
#catalan
......@@ -263,7 +263,7 @@ enableMissingTranslationPlaceholders = "true"
# Enable or disable top bar with social icons
[params.topbar]
enable = false
enable = true
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>
......
......@@ -63,19 +63,21 @@
</div>
<!-- /.container -->
<!-- {{ if .Site.Params.topbar.enable }}
<div class="social">
{{ if .Site.Params.topbar.enable }}
<div class="social_external">
{{ range .Site.Menus.topbar.ByWeight }}
<a href="{{ .URL }}" target="_blank" style="opacity: 1;">{{ .Pre }}</a>
{{ end }}
</div>
{{ end }} -->
{{ end }}
<div class="social_external">
<!-- {{ if .Site.Params.topbar.enable }}
<div class="social">
{{ range .Site.Menus.topbar.ByWeight }}
<a href="{{ .URL }}" target="_blank" style="opacity: 1;">{{ .Pre }}</a>
<a href="{{ .URL }}" target="_blank">{{ .Pre }}</a>
{{ end }}
</div>
{{ end }} -->
{{ partial "multi_lang.html" . }}
......
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