diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-11-09 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-11-09 00:00:00 +0000 |
commit | 5d093b3a339e6d497d62410df81a4dd8116c70bdaad36d738e175326819a0703 (patch) | |
tree | e10d0e8da2fd1124b1228e5f25a482cdc80f6c49f8b3d5d7a985c9300f1fd272 /config/_default/config.toml | |
parent | 5cb68efa5ebfcda36c6a2726103c7b054f88c9124ab550b2ffdd39aa2b7a0f33 (diff) | |
download | journal-5d093b3a339e6d497d62410df81a4dd8116c70bdaad36d738e175326819a0703.tar.gz journal-5d093b3a339e6d497d62410df81a4dd8116c70bdaad36d738e175326819a0703.zip |
Create configDir for journal generation
This gets rid of the ugly dependency on Python scripts. By using
configDir, two different configs can be specified. One for Gemini and
one for the Web. This keeps everything separate, tidy, and much more
maintainable.
Diffstat (limited to 'config/_default/config.toml')
-rw-r--r-- | config/_default/config.toml | 63 |
1 files changed, 63 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" |