Skip to content

Commit

Permalink
use multi-theme for yourself
Browse files Browse the repository at this point in the history
can use self theme file to load news site files
  • Loading branch information
cssailing authored Oct 15, 2020
1 parent 0ec6882 commit db0ebbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Controller/SiteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function indexAction( int $page = 1 , int $category_id = 0 , int $tag_id
return [
'$view' => [
'title' => $title,
'name' => 'news:views/posts.php',
'name' => 'views/posts.php',
'link:feed' => [
'rel' => 'alternate',
'href' => App::url('@news/feed'),
Expand Down Expand Up @@ -194,7 +194,7 @@ public function searchAction( string $q = '' , int $page = 0 )
return [
'$view' => [
'title' => __('News Search'),
'name' => 'news:views/posts.php',
'name' => 'views/posts.php',
'link:feed' => [
'rel' => 'alternate',
'href' => App::url('@news/feed'),
Expand All @@ -212,4 +212,4 @@ public function searchAction( string $q = '' , int $page = 0 )
]
];
}
}
}

0 comments on commit db0ebbb

Please sign in to comment.