File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
themes/coHub/layouts/partials Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- baseURL = ' https://synapsets.etsmtl.ca/ '
1
+ baseURL = ' https://synapsets.etsmtl.ca'
2
2
languageCode = ' en-us'
3
3
paginate = 6
4
4
theme = " coHub"
@@ -15,24 +15,24 @@ title = 'Synapse'
15
15
url = " #mission"
16
16
weight = 2
17
17
[[menu .Main ]]
18
- name = " Évènement"
19
- url = " #evenement"
20
- weight = 4
21
- [[menu .Main ]]
22
18
name = " Projets"
23
19
url = " #projet"
24
20
weight = 3
25
21
[[menu .Main ]]
22
+ name = " Évènement"
23
+ url = " #evenement"
24
+ weight = 4
25
+ [[menu .Main ]]
26
26
name = " Membres"
27
- url = " membres"
27
+ url = " / membres/ "
28
28
weight = 5
29
29
[[menu .Main ]]
30
30
name = " FAQ"
31
31
url = " #faq"
32
32
weight = 6
33
33
[[menu .Main ]]
34
34
name = " Contact"
35
- url = " contact"
35
+ url = " / contact/ "
36
36
weight = 7
37
37
38
38
[params ]
Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ title = 'Synapse'
24
24
weight = 3
25
25
[[menu .Main ]]
26
26
name = " Membres"
27
- url = " membres"
27
+ url = " / membres/ "
28
28
weight = 5
29
29
[[menu .Main ]]
30
30
name = " FAQ"
31
31
url = " #faq"
32
32
weight = 6
33
33
[[menu .Main ]]
34
34
name = " Contact"
35
- url = " contact"
35
+ url = " / contact/ "
36
36
weight = 7
37
37
38
38
[params ]
Original file line number Diff line number Diff line change 20
20
{{ $menu := .Site.Menus.main}}
21
21
{{range $index, $element := $menu}}
22
22
< 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 >
24
24
</ li >
25
25
{{end}}
26
26
</ ul >
You can’t perform that action at this time.
0 commit comments