Updated from upstream

This commit is contained in:
nonlinear 2019-05-09 07:40:17 +00:00
parent 1b999bfbab
commit 2d575759dd
1 changed files with 25 additions and 3 deletions

View File

@ -16,10 +16,28 @@
# Changing this requires a restart.
Port: "9009"
# Change to true to have nothing display after the initial
# start-up messages
QuietLogging: false
# Change to true to have all messages beyond the initial
# start-up go to a file. The name is either relative to
# the executable or absolute. If QuietLogging is set,
# nothing will be written to the file.
FileLogging: false
LogFile: "tildewiki.log"
# Minimum time between cache refreshes for the index page
# Should be a typical time string: 30m, 60s, 10s, etc.
# This is to rate-limit how often TildeWiki has to read
# the index file and pages directory
IndexRefreshInterval: "30s"
# The name of the wiki
Name: "RadioFreqs.space Wiki"
# Used in the <title> tag between name and description
Separator: "::"
TitleSeparator: "::"
# Used between page names and descriptions
DescSeparator: "::"
# Little blurb for the <title> tag
ShortDesc: "Wiki for the RadioFreqs.space Tilde server"
#Location of the CSS file. Can be relative or remote
@ -29,7 +47,7 @@ CSS: "https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/dark.css"
# AssetsDir holds some of the configuration files
# Like the `index` markdown document (front page), the error pages,
# the icon / favicon, etc.
AssetsDir: "index"
AssetsDir: "assets"
# Use the file name, not the full path
Index: "wiki.md"
# Again, just the file name. Currently, must be PNG, JPEG, or GIF.
@ -37,9 +55,13 @@ Icon: "icon.png"
# PageDir holds the actual content pages for the wiki
PageDir: "pages"
# ReverseTally is false for Alphabetical, true for Reverse Alphabetical.
# Set to reverse if you want to title your pages with dates and sort
# the newest first.
ReverseTally: false
# Regex to validate the URLs. You probably don't want to change this.
ValidPath: "^/(w)/([a-zA-Z0-9]+)$"
ValidPath: "^/(w)/([a-zA-Z0-9-_]+)$"
# URL path used to delineate the wiki pages.
# The default is "w", which would appear publicly as:
# example.com/w/page