summaryrefslogtreecommitdiffstats
path: root/exampleSite
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml21
-rw-r--r--exampleSite/content/about.md2
-rw-r--r--exampleSite/content/search/_index.md8
3 files changed, 29 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 72e22b7..3d03c3b 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -11,11 +11,14 @@ disableKinds = ["taxonomyTerm"]
languageCode = "en" # For RSS, view https://www.rssboard.org/rss-language-codes
defaultContentLanguage = "en" # For HTML page, now support: en, zh-hans, zh-hant, ja, nl
-summaryLength = 100 # Custom cummary length, add <!--more--> in post file to custom split point
+summaryLength = 100 # Custom summary length, add <!--more--> in post file to custom split point
paginate = 10
# googleAnalytics = "UA-000000000-0" # Set your Google Analytics UA here
+[outputs]
+ home = ["html", "rss", "json"]
+
[permalinks]
post = "/:section/:filename/" # Custom post links, e.g. "/:year/:month/:title/"
@@ -29,9 +32,14 @@ paginate = 10
# googleAnalyticsTid = "UA-000000000-0"
# googleAnalyticsRoute = "https://*.*.workers.dev/"
+ # Google AdSense
+ # The AdSense code will be inserted between the head tags of your site.
+ # googleAdsense = "0000000000000000"
+
# Word counter and read time indicator in post metadata
showWordCounter = true
showReadTime = false
+
# License at the end of each post
showLicense = true
showToc = true
@@ -74,6 +82,9 @@ paginate = 10
# Use Hugo Pipes in Hugo Extended Version to compile SCSS
# useHugoPipes = true
+ # Let images display in full brightness under dark mode
+ # disableDarkImage = true
+
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
@@ -101,6 +112,14 @@ paginate = 10
name = "About"
url = "/about/"
weight = 3
+ [[menu.nav]]
+ name = "Search"
+ url = "/search/"
+ weight = 4
+ [[menu.nav]]
+ name = "RSS"
+ url = "/index.xml"
+ weight = 5
[[menu.link]]
name = "GitHub"
diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md
index a596d02..b6fc1ec 100644
--- a/exampleSite/content/about.md
+++ b/exampleSite/content/about.md
@@ -19,6 +19,6 @@ Hugo is ideal for blogs, corporate websites, creative portfolios, online magazin
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.
-Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
+Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
Learn more and contribute on [GitHub](https://github.com/gohugoio).
diff --git a/exampleSite/content/search/_index.md b/exampleSite/content/search/_index.md
new file mode 100644
index 0000000..d07189d
--- /dev/null
+++ b/exampleSite/content/search/_index.md
@@ -0,0 +1,8 @@
++++
+title = "Search"
+description = ""
++++
+
+You can change search page details above.
+
+Keep this file saft to ensure Hugo generate the search page.