etc/initrc: change default markdown formatter from markdown.pl (no modern perl on plan 9) to md2html.awk (works everywhere)

This commit is contained in:
sl 2016-12-02 20:35:58 -05:00
parent 1e14f758f8
commit c743f00542

View File

@ -9,13 +9,12 @@
# Location of your Plan 9 from User Space installation (usually /usr/local/plan9) # Location of your Plan 9 from User Space installation (usually /usr/local/plan9)
plan9port=$PLAN9 plan9port=$PLAN9
#plan9port=/usr/local/plan9
# If you use 9base, it should point to your 9base root, try for example: # If you use 9base, it should point to your 9base root, try for example:
#plan9port=/usr/lib/9base # This is the default 9base install path in Debian. #plan9port=/usr/lib/9base # This is the default 9base install path in Debian.
# If rc is not installed as /usr/local/plan9/bin/rc you will also need to change # If rc has not been copied to /bin/rc you will also need to change
# the #! line in bin/werc.rc! # the #! line in bin/*.rc!
# Path, make sure the plan9port /bin directory is included before /bin # Path, make sure the plan9port /bin directory is included before /bin
# Keep '.' in path! It is needed. # Keep '.' in path! It is needed.
@ -25,14 +24,14 @@ path=($plan9port/bin . ./bin ./bin/contrib /bin /usr/bin)
# takes as an argument a filter, in the default configuration markdown.pl, that # takes as an argument a filter, in the default configuration markdown.pl, that
# caches output) Note that some werc components assume a markdown-like # caches output) Note that some werc components assume a markdown-like
# formatter, but all major functionality should should be formatter agnostic. # formatter, but all major functionality should should be formatter agnostic.
#formatter=(md2html.awk) #formatter=(fltr_cache markdown.pl)
formatter=(fltr_cache markdown.pl) formatter=(fltr_cache md2html.awk) # no perl for old men
# Enable debugging, to disable set to () # Enable debugging, to disable set to ()
debug=true debug=true
# Globally enabled apps # Globally enabled apps
enabled_apps=( ) enabled_apps=()
# Default site variables, must be set in initrc.local or _werc/config, only siteTitle is required. # Default site variables, must be set in initrc.local or _werc/config, only siteTitle is required.
#masterSite=cat-v.org # Not required! #masterSite=cat-v.org # Not required!