소스 검색

Allow sites to override master template

Frans Bergman 4 년 전
부모
커밋
ce7f642c64
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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