diff --git a/plugins/about/plugin.php b/plugins/about/plugin.php index 0924fb50..9e30b80f 100644 --- a/plugins/about/plugin.php +++ b/plugins/about/plugin.php @@ -6,11 +6,7 @@ class pluginAbout extends Plugin { { $this->dbFields = array( 'label'=>'About', - 'text'=>'', - 'facebook'=>'', - 'twitter'=>'', - 'instagram'=>'', - 'googleplus'=>'' + 'text'=>'' ); } @@ -28,28 +24,6 @@ class pluginAbout extends Plugin { $html .= ''; $html .= ''; - $html .= 'Social networks'; - - $html .= '
'; - $html .= ''; - $html .= ''; - $html .= '
'; - - $html .= '
'; - $html .= ''; - $html .= ''; - $html .= '
'; - - $html .= '
'; - $html .= ''; - $html .= ''; - $html .= '
'; - - $html .= '
'; - $html .= ''; - $html .= ''; - $html .= '
'; - return $html; } diff --git a/themes/pure/php/head.php b/themes/pure/php/head.php index 43d6a590..68824463 100644 --- a/themes/pure/php/head.php +++ b/themes/pure/php/head.php @@ -1,7 +1,5 @@ - - <?php echo $Site->title() ?> if( $Url->whereAmI()=='post' ) { Theme::keywords( $Post->tags() ); + Theme::description( $Post->description() ); } elseif( $Url->whereAmI()=='page' ) { Theme::keywords( $Page->tags() ); + Theme::description( $Page->description() ); + } + else { + Theme::description( $Site->description() ); } ?> diff --git a/themes/pure/php/home.php b/themes/pure/php/home.php index 89812dd3..d0bc82cf 100644 --- a/themes/pure/php/home.php +++ b/themes/pure/php/home.php @@ -23,7 +23,7 @@ echo $Language->get('Posted By').' '; if( Text::isNotEmpty($Post->authorFirstName()) && Text::isNotEmpty($Post->authorLastName()) ) { - echo $Post->authorFirstName().', '.$Post->authorLastName(); + echo $Post->authorFirstName().' '.$Post->authorLastName(); } else { echo $Post->username(); diff --git a/themes/pure/php/post.php b/themes/pure/php/post.php index d4f4436f..4f1c2011 100644 --- a/themes/pure/php/post.php +++ b/themes/pure/php/post.php @@ -21,7 +21,7 @@ echo $Language->get('Posted By').' '; if( Text::isNotEmpty($Post->authorFirstName()) && Text::isNotEmpty($Post->authorLastName()) ) { - echo $Post->authorFirstName().', '.$Post->authorLastName(); + echo $Post->authorFirstName().' '.$Post->authorLastName(); } else { echo $Post->username();