Skip to content

Commit a1294c2

Browse files
authored
Merge pull request #70 from ClubCedille/feature/EHP/fix-small-issues
testing url
2 parents a9a2fbe + 551183f commit a1294c2

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

config.prod.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseURL = 'https://synapsets.etsmtl.ca/'
1+
baseURL = 'https://synapsets.etsmtl.ca'
22
languageCode = 'en-us'
33
paginate = 6
44
theme= "coHub"
@@ -15,24 +15,24 @@ title = 'Synapse'
1515
url= "#mission"
1616
weight = 2
1717
[[menu.Main]]
18-
name = "Évènement"
19-
url= "#evenement"
20-
weight = 4
21-
[[menu.Main]]
2218
name = "Projets"
2319
url= "#projet"
2420
weight = 3
2521
[[menu.Main]]
22+
name = "Évènement"
23+
url= "#evenement"
24+
weight = 4
25+
[[menu.Main]]
2626
name = "Membres"
27-
url= "membres"
27+
url= "/membres/"
2828
weight = 5
2929
[[menu.Main]]
3030
name = "FAQ"
3131
url= "#faq"
3232
weight = 6
3333
[[menu.Main]]
3434
name = "Contact"
35-
url= "contact"
35+
url= "/contact/"
3636
weight = 7
3737

3838
[params]

config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ title = 'Synapse'
2424
weight = 3
2525
[[menu.Main]]
2626
name = "Membres"
27-
url= "membres"
27+
url= "/membres/"
2828
weight = 5
2929
[[menu.Main]]
3030
name = "FAQ"
3131
url= "#faq"
3232
weight = 6
3333
[[menu.Main]]
3434
name = "Contact"
35-
url= "contact"
35+
url= "/contact/"
3636
weight = 7
3737

3838
[params]

themes/coHub/layouts/partials/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{{ $menu := .Site.Menus.main}}
2121
{{range $index, $element := $menu}}
2222
<li class="nav-item {{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} active{{ end }}">
23-
<a class="nav-link scroll-to" href="{{ $.Site.BaseURL }}{{ .URL }}">{{.Name}}</a>
23+
<a class="nav-link scroll-to" href="{{ .URL | relURL }}">{{.Name}}</a>
2424
</li>
2525
{{end}}
2626
</ul>

0 commit comments

Comments
 (0)