mirror of https://github.com/vtrois/kratos
Update header.php
parent
a84a7278b8
commit
7f9e779191
|
@ -27,9 +27,7 @@
|
|||
<meta property="og:title" content="<?php echo $title; ?>">
|
||||
<meta property="og:type" content="article">
|
||||
<?php
|
||||
if (is_home()) {
|
||||
echo "<meta property='og:article:tag' content='{$tag->name}'>";
|
||||
} else {
|
||||
if (!is_home()) {
|
||||
$tags = get_the_tags();
|
||||
if (is_array($tags)) {
|
||||
foreach ($tags as $tag) { ?>
|
||||
|
|
Loading…
Reference in New Issue