Pārlūkot izejas kodu

Allow sites to override master template

Frans Bergman 4 gadi atpakaļ
vecāks
revīzija
ce7f642c64
2 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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