aboutsummaryrefslogtreecommitdiff
path: root/config/_default/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'config/_default/config.toml')
-rw-r--r--config/_default/config.toml308
1 files changed, 308 insertions, 0 deletions
diff --git a/config/_default/config.toml b/config/_default/config.toml
new file mode 100644
index 0000000..16ca22b
--- /dev/null
+++ b/config/_default/config.toml
@@ -0,0 +1,308 @@
+theme = "default"
+title = "A Micro Blog"
+paginate = 10
+summaryLength = 1
+enableEmoji = true
+buildDrafts = true
+buildExpired = true
+languageCode = "en-us"
+enableRobotsTXT = true
+
+[author]
+ list = ["canory", "default", "nobody"]
+ [author.default]
+ footer = "A Micro Blog"
+
+[taxonomies]
+ tag = "tags"
+
+[menu]
+
+ [[menu.main]]
+ name = "Home"
+ url = "/"
+ identifier = "tabler/home"
+ weight = 1
+
+ [[menu.main]]
+ name = "Tags"
+ url = "/tags/"
+ identifier = "tabler/tag"
+ weight = 2
+ icon = "home"
+
+ [[menu.main]]
+ name = "Archives"
+ url = "/archives/"
+ identifier = "tabler/archive"
+ weight = 3
+
+ [[menu.main]]
+ name = "Authors"
+ url = "/authors/"
+ identifier = "tabler/users"
+ weight = 4
+
+ [[menu.main]]
+ name = "Settings"
+ url = "/settings/"
+ identifier = "tabler/settings"
+ weight = 5
+
+ [[menu.main]]
+ name = "Sources"
+ url = "/sources/"
+ identifier = "tabler/git-fork"
+ weight = 6
+
+ [[menu.main]]
+ name = "RSS Feed"
+ url = "/rss.xml"
+ identifier = "tabler/rss"
+ weight = 7
+
+ [[menu.main]]
+ 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"
+ 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'"]
+ 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'", "data:", "http://preview.test"]
+ manifest-src = ["'self'", "data:"]
+ media-src = ["'self'"]
+ object-src = ["'self'"]
+ script-src-elem = ["'self'"]
+ script-src = ["'self'"]
+ style-src = ["'self'", "'unsafe-inline'", "http://preview.test"]
+ [params.search]
+ [params.search.verification]
+
+[related]
+ includeNewer = false
+ threshold = 80
+ toLower = false
+
+ [[related.indices]]
+ name = "tags"
+ weight = 80
+
+ [[related.indices]]
+ name = "date"
+ 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.archives]
+ path = "archives"
+ baseName = "index"
+ mediaType = "text/html"
+ [outputFormats.settings]
+ path = "settings"
+ baseName = "index"
+ mediaType = "text/html"
+ [outputFormats.sources]
+ path = "sources"
+ baseName = "index"
+ mediaType = "text/html"
+ [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", "archives", "settings"]
+ section = ["html", "rss", "gallery", "following", "webring"]
+ taxonomy = ["html", "rss"]
+ term = ["html", "rss"]
+ 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
+
+[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/data/generates/content"
+
+ [[module.mounts]]
+ source = "themes/default/layouts"
+ target = "static/sources/files"
+
+ [[module.mounts]]
+ source = "data"
+ target = "static/data"
+
+ [[module.mounts]]
+ source = "public/data/generates/content"
+ target = "content"
+
+ [[module.mounts]]
+ source = "public/data/generates/authors"
+ target = "data/authors"
+
+ [[module.mounts]]
+ source = "public"
+ target = "assets/public"
+
+[sitemap]
+ changefreq = "weekly"
+ filename = "sitemap.xml"
+ priority = 0.5
+
+[markup]
+ defaultMarkdownHandler = "goldmark"
+ [markup.asciidocExt]
+ backend = "html5"
+ extensions = []
+ failureLevel = "fatal"
+ noHeaderOrFooter = true
+ preserveTOC = false
+ safeMode = "unsafe"
+ sectionNumbers = false
+ trace = false
+ verbose = false
+ workingFolderCurrent = false
+ [markup.asciidocExt.attributes]
+ [markup.goldmark]
+ [markup.goldmark.extensions]
+ definitionList = true
+ footnote = true
+ linkify = true
+ linkifyProtocol = "https"
+ strikethrough = true
+ table = true
+ taskList = true
+ typographer = true
+ [markup.goldmark.parser]
+ autoHeadingID = true
+ autoHeadingIDType = "github"
+ 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
+ guessSyntax = true
+ hl_Lines = ""
+ hl_inline = false
+ lineAnchors = ""
+ lineNoStart = 1
+ lineNos = false
+ lineNumbersInTable = false
+ noClasses = false
+ noHl = false
+ tabWidth = 4
+ [markup.tableOfContents]
+ endLevel = 3
+ ordered = false
+ startLevel = 2