summaryrefslogtreecommitdiff
path: root/hugo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml49
1 files changed, 29 insertions, 20 deletions
diff --git a/hugo.toml b/hugo.toml
index f5c9f60..ae54cbe 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -2,29 +2,38 @@ baseURL = "https://example.org/"
languageCode = "en-US"
title = "Your Website Name"
+[frontmatter]
+ # {{ .Date }} will look for publishDate or aliases first, fallback to date
+ date = ["publishdate", "pubdate", "published", "date"]
+
[menus]
- [[menus.main]]
- name = "Home"
- pageRef = "/"
- weight = 10
+ [[menus.main]]
+ identifier = "home"
+ name = "Home"
+ pageRef = "/"
+ weight = 10
- [[menus.main]]
- name = "Posts"
- pageRef = "/posts"
- weight = 20
+ [[menus.main]]
+ identifier = "posts"
+ name = "Posts"
+ pageRef = "/posts"
+ weight = 20
- [[menus.main]]
- name = "About"
- pageRef = "/about"
- weight = 30
+ [[menus.main]]
+ identifier = "about"
+ name = "About"
+ pageRef = "/about"
+ weight = 30
- [[menus.main]]
- name = "Tags"
- pageRef = "/tags"
- weight = 40
+ [[menus.main]]
+ identifier = "tags"
+ name = "Tags"
+ pageRef = "/tags"
+ weight = 40
[params]
- [params.author]
- name = "Your Name"
- email = "your@email.com"
-
+ [params.author]
+ name = "Your Name"
+ email = "your@email.com"
+ # Set logo to empty string in your hugo.toml if you want to display site.Title instead
+ logo = "logo.svg"