Skip to content

Commit

Permalink
Include meta tags for author and description.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Mar 22, 2021
1 parent 53247d0 commit 1f152fe
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">
<?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 1f152fe

Please sign in to comment.