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:
authorVictoria Drake <hello@victoria.dev>2020-07-25 16:38:23 +0300
committerVictoria Drake <hello@victoria.dev>2020-07-25 16:57:40 +0300
commite781be1620c1f5f16044f035c265b937ba4971a7 (patch)
tree7f8c5cc351cad60c1c6d8b2edc0c28753a34a87f /exampleSite/config.toml
parent5f5084d870d3af81cf81b701bfd50913b426ba23 (diff)
Add example site configuration post, shortcodes
- Hopefully help explain related issues #217, #194 Close #226
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml26
1 files changed, 21 insertions, 5 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 2c5fbc4..13e9bf6 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,8 +1,8 @@
-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"
@@ -12,7 +12,7 @@ DefaultContentLanguage = "en" # Default language fo
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/
# Configure the home page
[params.home]
@@ -20,7 +20,6 @@ DefaultContentLanguage = "en" # Default language fo
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
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/
@@ -75,6 +74,23 @@ DefaultContentLanguage = "en" # Default language fo
[taxonomies]
tag = "tags"
+[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 = "friendly"
+ tabWidth = 4
+
[languages]
[languages.en]
languageName = "English"