ghwikipp: templates: use page url for opengraph url

From 34a1a1cf7ad54b14bea54f8b1ff43513ad78cc1b Mon Sep 17 00:00:00 2001
From: Thomas J Faughnan Jr <[EMAIL REDACTED]>
Date: Fri, 26 Apr 2024 14:54:50 -0400
Subject: [PATCH] templates: use page url for opengraph url

The og:url value should be canonical for the object per https://ogp.me/.
Also change the twitter:url value, even though Twitter/X seems to have killed
link previews entirely.
---
 templates/html_header | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/html_header b/templates/html_header
index 0ba6046..99f3781 100644
--- a/templates/html_header
+++ b/templates/html_header
@@ -10,8 +10,8 @@
 <meta name="twitter:site" content="@@twitteruser@" />
 <meta name="twitter:image" content="@baseurl@/static_files/logo.png" />
 <meta property="og:image" content="@baseurl@/static_files/logo.png" />
-<meta name="twitter:url" content="@baseurl@" />
-<meta property="og:url" content="@baseurl@" />
+<meta name="twitter:url" content="@url@" />
+<meta property="og:url" content="@url@" />
 <meta name="twitter:title" content="@page@" />
 <meta property="og:title" content="@page@" />
 <meta name="twitter:description" content="@wikidesc@" />