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

This commit is contained in:
SovereigntyIsNotFreedom 2025-03-30 20:37:43 +01:00
parent b05e3e1be1
commit ad298c1653

View file

@ -8,9 +8,12 @@
<meta property="og:site_name" content="Darknet Lantern">
<meta property="og:title" content="Darknet Lantern" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://lantern.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion" />
// 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: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="stylesheet" type="text/css" href="style.css">
<link rel="icon" href="/img/logo-favicon.png">