aboutsummaryrefslogtreecommitdiff
path: root/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml124
1 files changed, 38 insertions, 86 deletions
diff --git a/config.toml b/config.toml
index d615726..16ca22b 100644
--- a/config.toml
+++ b/config.toml
@@ -10,15 +10,8 @@ enableRobotsTXT = true
[author]
list = ["canory", "default", "nobody"]
- footer = "A Micro Blog\n"
-
[author.default]
- footer = "canory"
- home = "canory"
- gallery = "canory"
- title = "canory"
- user = "default"
- webring = "canory"
+ footer = "A Micro Blog"
[taxonomies]
tag = "tags"
@@ -28,89 +21,83 @@ enableRobotsTXT = true
[[menu.main]]
name = "Home"
url = "/"
- identifier = "feather/home"
+ identifier = "tabler/home"
weight = 1
[[menu.main]]
name = "Tags"
url = "/tags/"
- identifier = "feather/tag"
+ identifier = "tabler/tag"
weight = 2
icon = "home"
[[menu.main]]
- name = "History"
- url = "/archives/messages/"
- identifier = "tabler/clock"
+ name = "Archives"
+ url = "/archives/"
+ identifier = "tabler/archive"
weight = 3
[[menu.main]]
- name = "Records"
- url = "/archives/tags/"
- identifier = "tabler/book-2"
+ name = "Authors"
+ url = "/authors/"
+ identifier = "tabler/users"
weight = 4
[[menu.main]]
- name = "Authors"
- url = "/authors/"
- identifier = "feather/users"
+ name = "Settings"
+ url = "/settings/"
+ identifier = "tabler/settings"
weight = 5
[[menu.main]]
- name = "RSS Feed"
- url = "/rss.xml"
- identifier = "feather/rss"
+ name = "Sources"
+ url = "/sources/"
+ identifier = "tabler/git-fork"
weight = 6
[[menu.main]]
- name = "JSON Feed"
- url = "/index.json"
- identifier = "feather/circle"
+ name = "RSS Feed"
+ url = "/rss.xml"
+ identifier = "tabler/rss"
weight = 7
[[menu.main]]
- name = "Sources"
- url = "/sources/"
- identifier = "feather/git-commit"
+ name = "JSON Feed"
+ url = "/index.json"
+ identifier = "tabler/circle"
weight = 8
[params]
-
[params.site]
offline = false
production = false
referrer = "no-referrer"
robots = "index,follow"
-
[params.webmanifest]
+ start_url = "/"
name = "Micro Blog"
- shortName = "Micro"
- themeColor = "#ffffff"
- backgroundColor = "#ffffff"
+ short_name = "Micro"
+ theme_color = "#ffffff"
+ background_color = "#ffffff"
display = "standalone"
+ description = "A Micro Blog"
logo = "data/media/logo.png"
-
[params.csp]
block-all-mixed-content = ""
base-uri = ["'self'"]
- child-src = ["'self'"]
connect-src = ["'self'"]
default-src = ["'self'"]
font-src = ["'self'"]
form-action = ["'self'", "lite.duckduckgo.com"]
frame-src = ["'self'", "www.youtube-nocookie.com", "en.m.wikipedia.org", "odysee.com"]
- img-src = ["'self'", "http://preview.test"]
- manifest-src = ["'self'"]
+ img-src = ["'self'", "data:", "http://preview.test"]
+ manifest-src = ["'self'", "data:"]
media-src = ["'self'"]
object-src = ["'self'"]
- prefetch-src = ["'self'"]
script-src-elem = ["'self'"]
script-src = ["'self'"]
style-src = ["'self'", "'unsafe-inline'", "http://preview.test"]
- worker-src = ["'self'"]
-
[params.search]
-
[params.search.verification]
[related]
@@ -127,109 +114,83 @@ enableRobotsTXT = true
weight = 10
[mediaTypes]
-
[mediaTypes."application/xslt+xml"]
suffixes = ["xsl"]
[outputFormats]
-
[outputFormats.html]
baseName = "index"
mediaType = "text/html"
-
+ [outputFormats.embed]
+ baseName = "embed"
+ mediaType = "text/html"
[outputFormats.plain]
baseName = "index"
mediaType = "text/plain"
-
[outputFormats.json]
baseName = "index"
mediaType = "application/json"
-
[outputFormats.rss]
baseName = "rss"
mediaType = "application/rss+xml"
-
[outputFormats."xslt.rss"]
baseName = "rss"
mediaType = "application/xslt+xml"
-
[outputFormats."xslt.sitemap"]
baseName = "sitemap"
mediaType = "application/xslt+xml"
-
[outputFormats.authors]
path = "authors"
baseName = "index"
mediaType = "text/html"
-
[outputFormats."authors.section"]
baseName = "authors"
mediaType = "text/html"
-
- [outputFormats.history]
- path = "archives/messages"
+ [outputFormats.archives]
+ path = "archives"
baseName = "index"
mediaType = "text/html"
-
- [outputFormats.records]
- path = "archives/tags"
+ [outputFormats.settings]
+ path = "settings"
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"
-
[outputFormats.gallery]
baseName = "gallery"
mediaType = "text/html"
-
[outputFormats.following]
baseName = "following"
mediaType = "text/html"
-
[outputFormats.webring]
baseName = "webring"
mediaType = "text/html"
[outputs]
- home = ["html", "rss", "xslt.rss", "xslt.sitemap", "json", "authors", "authors.section", "sources", "browserconfig", "history", "records", "webmanifest"]
+ home = ["html", "rss", "xslt.rss", "xslt.sitemap", "json", "authors", "authors.section", "sources", "archives", "settings"]
section = ["html", "rss", "gallery", "following", "webring"]
taxonomy = ["html", "rss"]
term = ["html", "rss"]
- page = ["html", "plain"]
+ page = ["html", "plain", "embed"]
[caches]
-
[caches.assets]
dir = ":resourceDir/_gen"
maxAge = -1
-
[caches.images]
dir = ":resourceDir/_gen"
maxAge = -1
-
[caches.getcsv]
dir = ":resourceDir/caches"
maxAge = "12h"
-
[caches.getjson]
dir = ":resourceDir/caches"
maxAge = "12h"
-
[caches.getresource]
dir = ":resourceDir/caches"
maxAge = "12h"
-
[caches.modules]
dir = ":resourceDir/caches"
maxAge = -1
@@ -295,7 +256,6 @@ enableRobotsTXT = true
[markup]
defaultMarkdownHandler = "goldmark"
-
[markup.asciidocExt]
backend = "html5"
extensions = []
@@ -307,11 +267,8 @@ enableRobotsTXT = true
trace = false
verbose = false
workingFolderCurrent = false
-
[markup.asciidocExt.attributes]
-
[markup.goldmark]
-
[markup.goldmark.extensions]
definitionList = true
footnote = true
@@ -321,21 +278,17 @@ enableRobotsTXT = true
table = true
taskList = true
typographer = true
-
[markup.goldmark.parser]
autoHeadingID = true
autoHeadingIDType = "github"
- wrapStandAloneImageWithinParagraph = true
-
+ wrapStandAloneImageWithinParagraph = false
[markup.goldmark.parser.attribute]
block = false
title = true
-
[markup.goldmark.renderer]
hardWraps = false
unsafe = false
xhtml = true
-
[markup.highlight]
anchorLineNos = true
codeFences = true
@@ -349,7 +302,6 @@ enableRobotsTXT = true
noClasses = false
noHl = false
tabWidth = 4
-
[markup.tableOfContents]
endLevel = 3
ordered = false