issue #44 - SEO: now with no hard coded stuff

This commit is contained in:
SovereigntyIsNotFreedom 2025-03-31 10:58:26 +01:00
parent a0eab386f3
commit 3e4fa309ef

View file

@ -8,12 +8,12 @@
<meta property="og:site_name" content="Darknet Lantern">
<meta property="og:title" content="Darknet Lantern" />
<meta property="og:type" content="website" />
// Now displays the url of the instance
<!-- // Now displays the url of the instance -->
<meta property="og:url" content="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?>" />
// Default images for previews
<meta property="og:image:url" content="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?> . /img/logo-large.png" />
<!-- // Default images for previews -->
<meta property="og:image:url" content="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']) . "/img/logo-large.png"; ?>" />
<meta property="og:locale" content="en_US" />
// This tells search engines which URL should be considered the original source when multiple URLs contain the same content.
<!-- // This tells search engines which URL should be considered the original source when multiple URLs contain the same content. -->
<link rel="canonical" href="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?>" />
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="icon" href="/img/logo-favicon.png">