Commit 52bca891 by sbiego

better multilang

parent e0a58ed6
baseurl = "http://flowin.space/elpoblet/"
baseurl = "/elpoblet/"
title = "elPoblet | Cooperativa"
theme = "hugo-universal-theme"
languageCode = "en-us"
relativeURLs = false
# Enable comments by entering your Disqus shortname
# disqusShortname = "elpoblet"
# Enable Google Analytics by entering your tracking code
......@@ -34,9 +35,30 @@ defaultContentLanguage = "ca"
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"
......@@ -74,7 +96,7 @@ defaultContentLanguage = "ca"
url = "/contact/"
weight = 4
# Top bar social links menu
# Top bar social links menu THAT ARE NOW INTO THE FOOTER
[[menu.topbar]]
weight = 1
......
<div class="navbar-affixed-top" data-spy="affix" data-offset-top="200">
<div class="navbar navbar-default yamm" role="navigation" id="navbar">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand home" href="{{ .Site.BaseURL }}">
<img src="{{ .Site.BaseURL }}img/logo.png" alt="{{ .Title }} logo" class="hidden-xs hidden-sm">
<img src="{{ .Site.BaseURL }}img/logo-small.png" alt="{{ .Title }} logo" class="visible-xs visible-sm">
<span class="sr-only">{{ .Title }} - {{ i18n "navHome" }}</span>
</a>
<div class="navbar-buttons">
<button type="button" class="navbar-toggle btn-template-main" data-toggle="collapse" data-target="#navigation">
<span class="sr-only">{{ i18n "navToggle" }}</span>
<i class="fa fa-align-justify"></i>
</button>
</div>
</div>
<!--/.navbar-header -->
<div class="navbar-collapse collapse" id="navigation">
<ul class="nav navbar-nav navbar-right">
{{ range .Site.Menus.main }}
<li class="dropdown">
<a href="{{ .URL }}">{{ .Name }}</a>
<!-- <a href="{{ .URL | relLangURL }}">{{ .Name }}</a> -->
</li>
{{ end }}
</ul>
</div>
<!--/.nav-collapse -->
<div class="collapse clearfix" id="search">
<form class="navbar-form" role="search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search">
<span class="input-group-btn">
<button type="submit" class="btn btn-template-main"><i class="fa fa-search"></i></button>
</span>
</div>
</form>
</div>
<!--/.nav-collapse -->
</div>
</div>
<!-- /#navbar -->
</div>
<!-- *** NAVBAR END ***-->
......@@ -44,7 +44,7 @@
smartSpeed:450,
video:true,
videoHeight:360,
videoWidth:710
videoWidth:640
// responsive:{
// 0:{
// items:3
......
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