summaryrefslogtreecommitdiff
path: root/site/hugo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'site/hugo.toml')
-rw-r--r--site/hugo.toml119
1 files changed, 16 insertions, 103 deletions
diff --git a/site/hugo.toml b/site/hugo.toml
index c370d99..5c7cd77 100644
--- a/site/hugo.toml
+++ b/site/hugo.toml
@@ -1,105 +1,18 @@
-baseURL = 'https://culsans.site/'
+baseURL = 'http://example.org/'
languageCode = 'en-us'
title = 'culsans.site'
-
-# Theme config
-theme = "terminal"
-pagination.pagerSize = 5
-
-# Required for Chroma and the custom syntax highlighting.
-[markup.highlight]
- noClasses = false
-
-[params]
- # dir name of your main content (default is `content/posts`).
- # the list of set content will show up on your index page (baseurl).
- contentTypeName = "posts"
-
- # if you set this to 0, only submenu trigger will be visible
- showMenuItems = 2
-
- # show selector to switch language
- showLanguageSelector = false
-
- # set theme to full screen width
- fullWidthTheme = false
-
- # center theme with default width
- centerTheme = true
-
- # if your resource directory contains an image called `cover.(jpg|png|webp)`,
- # then the file will be used as a cover automatically.
- # With this option you don't have to put the `cover` param in a front-matter.
- autoCover = true
-
- # set post to show the last updated
- # If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
- showLastUpdated = true
-
- enableGitInfo = true
-
- # Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author
- # updatedDatePrefix = "Updated"
-
- # whether to show a page's estimated reading time
- # readingTime = false # default
-
- # whether to show a table of contents
- # can be overridden in a page's front-matter
- # Toc = false # default
-
- # set title for the table of contents
- # can be overridden in a page's front-matter
- # TocTitle = "Table of Contents" # default
-
- # Set date/time format for posts
- # This will impact the date/time displayed on
- # index.html, the posts list page, and on posts themselves
- # This value can also be configured per-post on front matter
- # If you have any issues with the timezone rendering differently
- # than you expected, please ensure your timezone is correctly set
- # on your server.
- # This value can be customized according to Hugo documentation:
- # https://gohugo.io/functions/time/format/
- # Default value (no changes needed):
- # dateFormat = "2006-01-02"
- # Example format, with date, time, and timezone abbreviation:
- # dateFormat = "2006-01-02 3:04:06 PM MST"
-
-[languages]
- [languages.en]
- languageName = "English"
- title = "culsans.site"
-
- [languages.en.params]
- subtitle = "A simple, retro theme for Hugo"
- owner = ""
- keywords = ""
- copyright = ""
- menuMore = "Show more"
- readMore = "Read more"
- readOtherPosts = "Read other posts"
- newerPosts = "Newer posts"
- olderPosts = "Older posts"
- missingContentMessage = "Page not found..."
- missingBackButtonLabel = "Back to home page"
- minuteReadingTime = "min read"
- words = "words"
-
- [languages.en.params.logo]
- logoText = "culsans.site"
- logoHomeLink = "/about"
-
- [languages.en.menu]
- [[languages.en.menu.main]]
- identifier = "about"
- name = "/about"
- url = "/about"
- [[languages.en.menu.main]]
- identifier = "showcase"
- name = "/showcase"
- url = "/showcase"
- [[languages.en.menu.main]]
- identifier = "blog"
- name = "/blog"
- url = "/posts"
+theme = 'hugo-starter'
+
+[menus]
+ [[menus.main]]
+ name = 'about'
+ pageRef = '/'
+ weight = 10
+ [[menus.main]]
+ name = 'blog'
+ pageRef = '/posts'
+ weight = 20
+ [[menus.main]]
+ name = 'git'
+ url = 'https://git.culsans.site'
+ weight = 30