Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml50
1 files changed, 42 insertions, 8 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 2c5fbc4..6334faf 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,29 +1,31 @@
-baseURL = "http://example.com/" # Your domain name. Must end with "/"
+baseURL = "http://example.com/" # Your domain name. Must end with "/"
theme = "introduction"
DefaultContentLanguage = "en" # Default language for multilingual sites
-# disqusshortname = "" # https://gohugo.io/content-management/comments
-# googleAnalytics = "" # https://gohugo.io/templates/internal/#google-analytics
+# disqusshortname = "" # https://gohugo.io/content-management/comments
+# googleAnalytics = "" # https://gohugo.io/templates/internal/#google-analytics
[params]
- themeStyle = "light" # Choose "light" or "dark"
+ themeStyle = "auto" # Choose "light" or "dark" or "auto"
favicon = "/img/fav.ico" # Path to favicon file
showRSSButton = false # Show rss button in navigation
fadeIn = true # Turn on/off the fade-in effect
fadeInIndex = false # Turn on/off the fade-in effect on the index page even if fade-in was otherwise turned off
dateFormat = "Jan 2, 2006"
email = "youremail@email.com" # E-mail address for contact section
- # customCSS = ["foo.css"] # Include custom css files placed under assets/
+ # customCSS = ["foo.css"] # Include custom css files placed under assets/
+ # customJS = ["foo.js"] # Include custom JavaScript files placed under assets/
+ # plausible = true # Use Plausible analytics (requires an account at Plausible.io)
# Configure the home page
[params.home]
introHeight = "fullheight" # Input either "medium" or "large" or "fullheight"
showLatest = true # Show latest blog post summary
showAllPosts = false # Set true to list all posts on home page, or set false to link to separate blog list page
+ allPostsArchiveFormat = true # show all posts in an archive format
numberOfProjectsToShow = 3 # Maximum number of projects to show on home page. Unset or comment out to show all projects
-
localTime = true # Show your current local time in contact section
timeZone = "America/Los_Angeles" # Your timezone as in the TZ* column of this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- timeFormat = "h:mm A" # https://momentjs.com/docs/#/displaying/format/
+ timeFormat = "en-US" # Language specific format to use
[params.projects]
useTwoColumns = false # Use a layout with two columns instead of three
@@ -31,9 +33,23 @@ DefaultContentLanguage = "en" # Default language fo
[params.share]
twitter = true
facebook = true
- googlePlus = true
pinterest = true
+ # To enable giscus, the GitHub-discussions-based comment section,
+ # input the repository for the discussions below. For more details, see
+ # https://www.joelnitta.com/posts/2021-11-24_using-giscus/
+ # and https://github.com/giscus/giscus
+ [params.giscus]
+ # repo = "github-user/github-repo" # Entering repo will enable giscus
+ repo-id = "enter-repo-id"
+ category = "Comments"
+ category-id = "enter-category-id"
+ mapping = "pathname"
+ reactions-enabled = "1"
+ emit-metadata = "0"
+ theme = "light"
+ lang = "en"
+
# Social icons appear in introduction and contact section. Add as many more as you like.
# Icon pack "fab" includes social network icons, see: https://fontawesome.com/icons?d=gallery&s=brands&m=free
# Icon pack "fas" includes solid style icons, see: https://fontawesome.com/icons?d=gallery&s=solid&m=free
@@ -74,6 +90,24 @@ DefaultContentLanguage = "en" # Default language fo
# You can add more by yourself
[taxonomies]
tag = "tags"
+ series = "series"
+
+[markup]
+ defaultMarkdownHandler = "goldmark"
+ [markup.goldmark]
+ [markup.goldmark.renderer]
+ unsafe = true
+ [markup.highlight]
+ codeFences = true
+ guessSyntax = false
+ hl_Lines = ""
+ lineNoStart = 1
+ lineNos = false
+ lineNumbersInTable = true
+ # noClasses = true
+ # For styles, see https://xyproto.github.io/splash/docs/longer/all.html
+ style = "solarized-dark"
+ tabWidth = 4
[languages]
[languages.en]