]> git.bts.cx Git - cx.git/commitdiff
Add meta data for YT embeds to work
authorBen Sherratt <redacted>
Thu, 16 Jul 2026 21:16:25 +0000 (22:16 +0100)
committerBen Sherratt <redacted>
Thu, 16 Jul 2026 21:16:25 +0000 (22:16 +0100)
cx/templates/public/pages/base.php

index 7629caed06ba1e4648e9ca5583527208b2bfe8a1..41aed00d3ad131f1a4d96dc3efd7b2b7f2cecc01 100644 (file)
@@ -22,6 +22,8 @@
        <meta property="og:title" content="<?= cx_site_name(); ?>">
        <?php endif; ?>
 
+       <meta name="referrer" content="strict-origin-when-cross-origin" />
+
        <?php if (isset($cx_post_meta)): ?>
        
        <meta property="og:type" content="article" />