Skip to content

Commit

Permalink
Add meta tags for author and copyright.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Mar 22, 2021
1 parent 0e81965 commit a07a314
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=yes" />
<?php if ($author = option('author')): ?>
<meta name="author" content="<?php echo $author; ?>" />
<?php endif; ?>
<?php if ($copyright = option('copyright')): ?>
<meta name="copyright" content="<?php echo $copyright; ?>" />
<?php endif; ?>
<?php if ( $description = option('description')): ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php endif; ?>
Expand Down

0 comments on commit a07a314

Please sign in to comment.