소스 검색

allow theming default.tx

George S. Baugh 5 년 전
부모
커밋
58f317cd4a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/Trog/Routes/HTML.pm

+ 1 - 1
lib/Trog/Routes/HTML.pm

@@ -222,7 +222,7 @@ sub index ($query,$render_cb, $content = '', $i_styles = []) {
         path =>  "www/$theme_dir/templates",
     ) if $theme_dir;
 
-    $content ||= _pick_processor($rightbar,$processor,$t_processor)->render($landing_page,$query);
+    $content ||= _pick_processor("templates/$landing_page",$processor,$t_processor)->render($landing_page,$query);
 
     my @styles = ('/styles/avatars.css');
     if ($theme_dir) {