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

This commit is contained in:
SovereigntyIsNotFreedom 2025-03-31 10:52:59 +01:00
parent ad298c1653
commit 42c5976055

View file

@ -11,10 +11,10 @@
// 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="http://lantern.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/img/logo-large.png" />
<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.
<link rel="canonical" href="http://lantern.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion" />
<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">
</head>