blob: 85b57ddc14dfade2a86202ffbda31c77a4aa1fe0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
baseURL = "https://example.org/"
languageCode = "en-US"
title = "Your Website Name"
enableRobotsTXT = true # Copy this line to your project's hugo.toml
[frontmatter]
# {{ .Date }} will look for publishDate or aliases first, fallback to date
date = ["publishdate", "pubdate", "published", "date"]
# EXAMPLE: multilingual English-German site with content/en & content/de directories; English as default
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = true
disableDefaultLanguageRedirect = true
[languages]
[languages.de]
contentDir = "content/de"
languageCode = "de-DE"
languageName = "Deutsch"
weight = 2
[[languages.de.menus.main]]
identifier = "home"
name = "Startseite"
pageRef = "/"
weight = 10
[[languages.de.menus.main]]
identifier = "about"
name = "Über mich"
pageRef = "/about/"
weight = 20
[[languages.de.menus.main]]
identifier = "search"
name = "Suche"
pageRef = "/search/"
weight = 20
[languages.en]
contentDir = "content/en"
languageCode = "en-US"
languageName = "English"
weight = 1
[menus]
[[menus.main]]
identifier = "home"
name = "Home"
pageRef = "/"
weight = 10
[[menus.main]]
identifier = "about"
name = "About"
pageRef = "/about"
weight = 20
[[menus.main]]
identifier = "search"
name = "Search"
pageRef = "/search"
weight = 30
[outputs] # Copy outputs configuration to your project's hugo.toml
home = ["html", "json", "rss"]
section = ["html", "rss"]
taxonomy = ["html"]
term = ["html"]
[params]
# For displaying a logo, adjust to your file's name in your project's hugo.toml. Otherwise the theme uses title instead
# logo = "/logo.svg"
# Place files under static/images if you want to display a small image under the title of your homepage
# homepageImage = "/images/my-portrait.jpg"
[params.author]
name = "Your Name"
email = "your@email.com"
# Structure your social media profiles like this in your hugo.toml
# [[params.socials]]
# name = "Twitter"
# url = "https://twitter.com/yourhandle"
# icon = "/socials/twitter.svg"
|