Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -169,8 +169,9 @@ class browse extends Controller
|
||||
/* Set default search option */
|
||||
Output::i()->defaultSearchOption = array( 'blog_entry', 'blog_entry_pl' );
|
||||
}
|
||||
|
||||
Output::i()->bodyAttributes['contentClass'] = Category::class;
|
||||
Output::i()->jsFiles = array_merge( Output::i()->jsFiles, Output::i()->js( 'front_browse.js', 'blog', 'front' ) );
|
||||
Output::i()->title = $category ? $category->_title : Member::loggedIn()->language()->addToStack( 'blogs' );
|
||||
|
||||
}
|
||||
}
|
||||
@@ -87,6 +87,8 @@ class view extends Controller
|
||||
{
|
||||
Output::i()->metaTags['og:image'] = File::get( $this->_coverPhotoStorageExtension(), $this->blog->cover_photo )->url;
|
||||
}
|
||||
|
||||
Output::i()->bodyAttributes['contentClass'] = Blog::class;
|
||||
|
||||
parent::execute();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user