aboutsummaryrefslogtreecommitdiff
path: root/config.toml
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-03 04:25:49 -0400
committertdro <tdro@noreply.example.com>2022-05-03 04:25:49 -0400
commite92dc018e28ba8d44f1c6cbc9fb0b779dec271e6 (patch)
tree3667043819ab91065019dfe3b4ff83ad625c2b49 /config.toml
downloadcanory-e92dc018e28ba8d44f1c6cbc9fb0b779dec271e6.tar.gz
canory-e92dc018e28ba8d44f1c6cbc9fb0b779dec271e6.tar.bz2
canory-e92dc018e28ba8d44f1c6cbc9fb0b779dec271e6.zip
config.yaml: Commission
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml195
1 files changed, 195 insertions, 0 deletions
diff --git a/config.toml b/config.toml
new file mode 100644
index 0000000..f54c945
--- /dev/null
+++ b/config.toml
@@ -0,0 +1,195 @@
+theme = "default"
+title = "A Micro Blog"
+paginate = 10
+summaryLength = 1
+enableEmoji = true
+buildDrafts = true
+languageCode = "en-us"
+
+[author]
+ footer = "A Micro Blog\n"
+
+ [author.default]
+ user = "default"
+ webring = "canory"
+
+[taxonomies]
+ tag = "tags"
+
+[menu]
+
+ [[menu.main]]
+ name = "Home"
+ url = "/"
+ identifier = "feather/home"
+ weight = 1
+
+ [[menu.main]]
+ name = "Tags"
+ url = "/tags/"
+ identifier = "feather/tag"
+ weight = 2
+ icon = "home"
+
+ [[menu.main]]
+ name = "History"
+ url = "/archives/messages/"
+ identifier = "tabler/clock"
+ weight = 3
+
+ [[menu.main]]
+ name = "Records"
+ url = "/archives/tags/"
+ identifier = "tabler/book-2"
+ weight = 4
+
+ [[menu.main]]
+ name = "Authors"
+ url = "/authors/"
+ identifier = "feather/users"
+ weight = 5
+
+ [[menu.main]]
+ name = "RSS Feed"
+ url = "/rss.xml"
+ identifier = "feather/rss"
+ weight = 6
+
+ [[menu.main]]
+ name = "JSON Feed"
+ url = "/index.json"
+ identifier = "feather/circle"
+ weight = 7
+
+ [[menu.main]]
+ name = "Sources"
+ url = "/sources/"
+ identifier = "feather/git-commit"
+ weight = 8
+
+[markup]
+
+ [markup.highlight]
+ anchorLineNos = true
+ codeFences = true
+ guessSyntax = true
+ lineNos = false
+ lineNumbersInTable = false
+ noClasses = false
+ noHl = false
+
+[params]
+ production = false
+
+ [params.webmanifest]
+ name = "Micro Blog"
+ shortName = "Micro"
+ themeColor = "#ffffff"
+ backgroundColor = "#ffffff"
+ display = "standalone"
+ logo = "images/logo.png"
+
+ [params.csp]
+ referrer = "origin"
+ childsrc = ["'self'"]
+ fontsrc = ["'self'"]
+ formaction = ["'self'", "lite.duckduckgo.com"]
+ framesrc = ["'self'", "imgur.com", "www.youtube-nocookie.com", "platform.twitter.com", "en.m.wikipedia.org", "odysee.com", "docs.google.com"]
+ imgsrc = ["'self'", "http://preview.test", "imgs.xkcd.com"]
+ mediasrc = ["'self'", "raw.githubusercontent.com"]
+ objectsrc = ["'none'"]
+ prefetchsrc = ["'self'"]
+ scriptsrc = ["'self'", "s.imgur.com", "platform.twitter.com"]
+ scriptsrcelem = ["'self'", "s.imgur.com", "platform.twitter.com"]
+ stylesrc = ["'self'", "'unsafe-inline'", "http://preview.test"]
+
+[outputFormats]
+
+ [outputFormats.html]
+ baseName = "index"
+ mediaType = "text/html"
+
+ [outputFormats.json]
+ baseName = "index"
+ mediaType = "application/json"
+
+ [outputFormats.rss]
+ baseName = "rss"
+ mediaType = "application/xml"
+
+ [outputFormats.authors]
+ path = "authors"
+ baseName = "index"
+ mediaType = "text/html"
+
+ [outputFormats.archive-messages]
+ path = "archives/messages"
+ baseName = "index"
+ mediaType = "text/html"
+
+ [outputFormats.archive-tags]
+ path = "archives/tags"
+ baseName = "index"
+ mediaType = "text/html"
+
+ [outputFormats.sources]
+ path = "sources"
+ baseName = "index"
+ mediaType = "text/html"
+
+ [outputFormats.browserconfig]
+ baseName = "browserconfig"
+ mediaType = "application/xml"
+
+ [outputFormats.webmanifest]
+ baseName = "site"
+ mediaType = "application/manifest+json"
+
+[outputs]
+ home = ["html", "rss", "json", "authors", "sources", "browserconfig", "archive-messages", "archive-tags", "webmanifest"]
+ section = ["html", "rss"]
+ taxonomy = ["html", "rss"]
+ term = ["html", "rss"]
+ page = ["html"]
+
+[module]
+
+ [[module.mounts]]
+ source = "content"
+ target = "content"
+
+ [[module.mounts]]
+ source = "static"
+ target = "static"
+
+ [[module.mounts]]
+ source = "layouts"
+ target = "layouts"
+
+ [[module.mounts]]
+ source = "data"
+ target = "data"
+
+ [[module.mounts]]
+ source = "assets"
+ target = "assets"
+
+ [[module.mounts]]
+ source = "i18n"
+ target = "i18n"
+
+ [[module.mounts]]
+ source = "archetypes"
+ target = "archetypes"
+
+ [[module.mounts]]
+ source = "content"
+ target = "static/raw"
+
+ [[module.mounts]]
+ source = "themes/default/layouts"
+ target = "static/source/files"
+
+ [[module.mounts]]
+ source = "data"
+ target = "static/data"