shithub: werc

Download patch

ref: dbaeaf8c06090340b309eeaf792780a6cbbe2c26
parent: b0e38afc8fa66a4d2a591b9c20f29956c9e1b4eb
author: sl <sl@stanleylieber.com>
date: Fri Dec 2 15:35:58 EST 2016

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

--- a/etc/initrc
+++ b/etc/initrc
@@ -9,13 +9,12 @@
 
 # Location of your Plan 9 from User Space installation (usually /usr/local/plan9)
 plan9port=$PLAN9
-#plan9port=/usr/local/plan9
 
 # 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.
 
-# If rc is not installed as /usr/local/plan9/bin/rc you will also need to change
-# the #! line in bin/werc.rc!
+# If rc has not been copied to /bin/rc you will also need to change
+# the #! line in bin/*.rc!
 
 # Path, make sure the plan9port /bin directory is included before /bin
 # Keep '.' in path! It is needed.
@@ -25,14 +24,14 @@
 # takes as an argument a filter, in the default configuration markdown.pl, that
 # caches output) Note that some werc components assume a markdown-like
 # 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 ()
 debug=true
 
 # Globally enabled apps
-enabled_apps=( )
+enabled_apps=()
 
 # Default site variables, must be set in initrc.local or _werc/config, only siteTitle is required.
 #masterSite=cat-v.org # Not required!