summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/_default/config.toml63
-rw-r--r--config/gemini/config.toml6
-rw-r--r--config/web/config.toml7
3 files changed, 76 insertions, 0 deletions
diff --git a/config/_default/config.toml b/config/_default/config.toml
new file mode 100644
index 0000000..3d4b20b
--- /dev/null
+++ b/config/_default/config.toml
@@ -0,0 +1,63 @@
+theme = "hugo-theme-nicksphere"
+baseURL = "https://nicksphere.ch"
+title = "Nicholas Johnson"
+copyright = "CC BY-SA 4.0"
+languageCode = "en-us"
+disablePathToLower = true
+rssLimit = 20
+ignoreFiles = ['content/templates/logo\.txt$']
+
+[author]
+ name = "Nicholas Johnson"
+ email = "nick@nicksphere.ch"
+
+[params]
+ description = "Online journal about computing, philosophy, spirituality, privacy, and society."
+ keywords = "computing, computers, philosophy, spirituality, privacy, surveillance, mass surveillance, free software, libre software, technology, society, politics, opinion, education, educational, blog, blogging, gemini, geminispace, gemini capsule"
+ indexTitle = "Welcome To My Online Journal!"
+ indexIntro = "I write about computing, philosophy, privacy, society, spirituality, and more."
+ beginCopyrightYear = 2019
+
+[permalinks]
+ entry = "/:year/:month/:day/:filename"
+
+[menu]
+ [[menu.main]]
+ name = "About Page"
+ url = "/about/"
+ weight = 1
+ [[menu.main]]
+ name = "Promoted Links"
+ url = "/promoted/"
+ weight = 2
+ [[menu.main]]
+ name = "Glossary"
+ url = "/glossary/"
+ weight = 3
+ [[menu.main]]
+ name = "Atom Feed"
+ url = "/atom.xml"
+ weight = 4
+
+[markup]
+ [markup.goldmark]
+ [markup.goldmark.renderer]
+ hardWraps = true
+ [markup.goldmark.extensions]
+ linkify = false
+
+[mediaTypes]
+ [mediaTypes."application/atom"]
+ suffixes = ["xml"]
+ [mediaTypes."text/gemini"]
+ suffixes = ["gmi"]
+
+[outputFormats]
+ [outputFormats.Atom]
+ mediaType = "application/atom"
+ baseName = "atom"
+ [outputFormats.Gemini]
+ mediaType = "text/gemini"
+ [outputFormats.Gemini_Atom]
+ mediaType = "application/atom"
+ baseName = "atom"
diff --git a/config/gemini/config.toml b/config/gemini/config.toml
new file mode 100644
index 0000000..417a9bd
--- /dev/null
+++ b/config/gemini/config.toml
@@ -0,0 +1,6 @@
+disableKinds = ['taxonomy', 'term', 'RSS', 'section', 'sitemap']
+publishDir = "public/capsule"
+
+[outputs]
+ home = ["Gemini", "Gemini_Atom"]
+ page = ["Gemini"]
diff --git a/config/web/config.toml b/config/web/config.toml
new file mode 100644
index 0000000..f34177b
--- /dev/null
+++ b/config/web/config.toml
@@ -0,0 +1,7 @@
+disableKinds = ['taxonomy', 'term', 'RSS', 'section']
+enableRobotsTXT = true
+publishDir = "public/website"
+
+[outputs]
+ home = ["HTML", "Atom"]
+ page = ["HTML"]