Browse Source

Allow sites to override master template

Frans Bergman 3 months 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

lib/default_master.tpl → lib/master.tpl