2019-04-29 21:54:27 +00:00
|
|
|
####################################################################
|
|
|
|
# This config file can live at the following places, in descending #
|
|
|
|
# order. The first one found wins, the next locations are ignored #
|
|
|
|
# even if the file exists there too. #
|
|
|
|
# #
|
|
|
|
# /etc/ #
|
|
|
|
# /usr/local/etc/ #
|
|
|
|
# $HOME/.config/ #
|
|
|
|
# ./ #
|
|
|
|
# #
|
|
|
|
# The config file must be called `tildewiki.yaml` #
|
|
|
|
####################################################################
|
|
|
|
|
|
|
|
# The port for the service to bind to.
|
|
|
|
# Tildewiki will bind to localhost.
|
|
|
|
# Changing this requires a restart.
|
|
|
|
Port: "9009"
|
|
|
|
|
2019-05-09 07:40:17 +00:00
|
|
|
# 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"
|
|
|
|
|
2019-04-29 21:54:27 +00:00
|
|
|
# The name of the wiki
|
|
|
|
Name: "RadioFreqs.space Wiki"
|
|
|
|
# Used in the <title> tag between name and description
|
2019-05-09 07:40:17 +00:00
|
|
|
TitleSeparator: "::"
|
|
|
|
# Used between page names and descriptions
|
|
|
|
DescSeparator: "::"
|
2019-04-29 21:54:27 +00:00
|
|
|
# Little blurb for the <title> tag
|
|
|
|
ShortDesc: "Wiki for the RadioFreqs.space Tilde server"
|
|
|
|
#Location of the CSS file. Can be relative or remote
|
|
|
|
#CSS: "assets/wiki.css"
|
|
|
|
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.
|
2019-05-09 07:40:17 +00:00
|
|
|
AssetsDir: "assets"
|
2019-04-29 21:54:27 +00:00
|
|
|
# Use the file name, not the full path
|
|
|
|
Index: "wiki.md"
|
|
|
|
# Again, just the file name. Currently, must be PNG, JPEG, or GIF.
|
|
|
|
Icon: "icon.png"
|
|
|
|
|
|
|
|
# PageDir holds the actual content pages for the wiki
|
|
|
|
PageDir: "pages"
|
2019-05-09 07:40:17 +00:00
|
|
|
# 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
|
2019-04-29 21:54:27 +00:00
|
|
|
|
|
|
|
# Regex to validate the URLs. You probably don't want to change this.
|
2019-05-09 07:40:17 +00:00
|
|
|
ValidPath: "^/(w)/([a-zA-Z0-9-_]+)$"
|
2019-04-29 21:54:27 +00:00
|
|
|
# URL path used to delineate the wiki pages.
|
|
|
|
# The default is "w", which would appear publicly as:
|
|
|
|
# example.com/w/page
|
|
|
|
# If you change this, change the (w) in ValidPath above to match.
|
|
|
|
ViewPath: "w"
|
|
|
|
|