Browse Source

Allow sites to override master template

Frans Bergman 4 years ago
parent
commit
ce7f642c64
2 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/wesh.sh
  2. 0 0
      lib/master.tpl

+ 1 - 1
bin/wesh.sh

@@ -13,5 +13,5 @@ else
     printf "Content-Type: text/html\n"
     printf "\n"
 
-    handler lib/default_master.tpl
+    handler "$(get_lib_file master.tpl)"
 fi

+ 0 - 0
lib/default_master.tpl → lib/master.tpl