From f0506acd6f70da636b8fdb23439c85bbf2392b40 Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Sat, 16 Aug 2025 22:42:03 +0200 Subject: HTML templates done --- hugo.toml | 49 +++++++++++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 20 deletions(-) (limited to 'hugo.toml') 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" -- cgit v1.2.3