1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00

Added og:url tag

This commit is contained in:
eldadfux 2019-11-26 22:53:30 +02:00
parent 50e2324304
commit 1add9bf623

View file

@ -39,6 +39,9 @@ $canonical = $this->getParam('canonical', '');
<meta property="og:type" content="website" />
<meta property="og:title" content="<?php echo $this->getParam('title', ''); ?>" />
<meta property="og:description" content="<?php echo $this->getParam('description', ''); ?>" />
<?php if (!empty($canonical)): ?>
<meta property="og:url" content="<?php echo $canonical; ?>" />
<?php endif; ?>
<meta property="og:image" content="<?php echo $protocol; ?>://<?php echo $domain; ?>/images/logo.png?v=1" />
<script>