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:title" content="<?php echo $title; ?>">
|
||||||
<meta property="og:type" content="article">
|
<meta property="og:type" content="article">
|
||||||
<?php
|
<?php
|
||||||
if (is_home()) {
|
if (!is_home()) {
|
||||||
echo "<meta property='og:article:tag' content='{$tag->name}'>";
|
|
||||||
} else {
|
|
||||||
$tags = get_the_tags();
|
$tags = get_the_tags();
|
||||||
if (is_array($tags)) {
|
if (is_array($tags)) {
|
||||||
foreach ($tags as $tag) { ?>
|
foreach ($tags as $tag) { ?>
|
||||||
|
|
Loading…
Reference in New Issue