Skip to content

Commit 25b797d

Browse files
committed
Added a menu since the automatic menu was removed.
1 parent 57e7801 commit 25b797d

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

content/sv/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ If you got here you just discovered the language switcher that is built in to th
77

88
This should be in Swedish but it just here to show how the multilingual feature works.
99

10+
Här är lite svensk text för att fylla på utrymmet en del.

hugo.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,38 @@ languages:
5959
languageName: "English"
6060
languageCode: "en-GB"
6161
contentDir: content/en
62+
menu:
63+
main:
64+
- Name: "Home"
65+
weight: -10
66+
pageRef: "/"
67+
- Name: "Blog"
68+
weight: 2
69+
pageRef: "/blog/"
70+
- Name: "Podcast"
71+
weight: 4
72+
pageRef: "/podcast/"
73+
- Name: "Products"
74+
weight: 6
75+
pageRef: "/products/"
76+
- Name: "Misc"
77+
weight: 8
78+
pageRef: "/misc/"
79+
- Name: "Search"
80+
weight: 10
81+
pageRef: "/search/"
82+
- Name: "Contact"
83+
weight: 12
84+
pageRef: "/contact/"
85+
6286
sv:
6387
weight: 2
6488
languageName: "Svenska"
6589
languageCode: "sv-SE"
6690
contentDir: content/sv
91+
menu:
92+
main:
93+
- Name: "Hem"
94+
weight: -10
95+
pageRef: "/"
96+

0 commit comments

Comments
 (0)