extensions and fixes

This commit is contained in:
Joey Kimsey
2024-12-10 09:00:35 -05:00
parent ab8a8e2c35
commit 2e789998a5
14 changed files with 850 additions and 142 deletions

View File

@ -86,17 +86,7 @@ class Home extends Controller {
self::$title = 'Terms and Conditions - {SITENAME}';
self::$pageDescription = '{SITENAME} Terms and Conditions of use. Please use {SITENAME} safely.';
Components::set( 'TERMS', Views::simpleView( 'terms' ) );
Views::raw( '<div class="terms-page">{TERMS}</div>' );
}
public function hashtag( $id = null ) {
self::$title = 'HashTag - {SITENAME}';
self::$pageDescription = 'HashTags for {SITENAME}';
if ( !App::$isLoggedIn ) {
return Issues::add( 'notice', 'You must be logged in to view this page.' );
}
// this should look up comments and blog posts with the hashtag in them
Views::view( 'hashtags' );
Views::raw( '<div class="terms-page col-lg-8 mx-auto">{TERMS}</div>' );
}
public function about() {