wiki/etc/tildewiki.yaml

49 lines
2.0 KiB
YAML

####################################################################
# 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"
# The name of the wiki
Name: "RadioFreqs.space Wiki"
# Used in the <title> tag between name and description
Separator: "::"
# 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.
AssetsDir: "index"
# 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"
# Regex to validate the URLs. You probably don't want to change this.
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
# If you change this, change the (w) in ValidPath above to match.
ViewPath: "w"