Dont set author if none is set Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>
diff --git a/classes/themes/baseTheme.class.php b/classes/themes/baseTheme.class.php index 3fcc1b8..9315b7f 100644 --- a/classes/themes/baseTheme.class.php +++ b/classes/themes/baseTheme.class.php
@@ -2205,7 +2205,7 @@ */ public function getPageAuthor() { if (empty($this->page_author)) { - $this->page_author = 'Eclipse Foundation'; + $this->page_author = ''; } return $this->page_author; }
diff --git a/themes/solstice/header.php b/themes/solstice/header.php index ae38351..f046928 100644 --- a/themes/solstice/header.php +++ b/themes/solstice/header.php
@@ -9,6 +9,7 @@ * Contributors: * Christopher Guindon (Eclipse Foundation) - Initial implementation *******************************************************************************/ +$author = $this->getPageAuthor(); ?> <!DOCTYPE html> <html lang="en"> @@ -17,7 +18,9 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php print $this->getGoogleTagManager();?> + <?php if (!empty($author)) {?> <meta name="author" content="<?php print $this->getPageAuthor(); ?>"/> + <?php } ?> <meta name="keywords" content="<?php print $this->getPageKeywords(); ?>"/> <link rel="shortcut icon" href="/eclipse.org-common/themes/solstice/public/images/favicon.ico"/> <title><?php print $this->getTitle(); ?> | The Eclipse Foundation</title>