From d88e5cef45a9eac7fdadc610c3bef3f498b4564a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 7 Nov 2021 23:26:40 +0000 Subject: [PATCH] opengraph website metadata --- webapp_utils.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/webapp_utils.py b/webapp_utils.py index 3041a46ac..cd68b6963 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -764,8 +764,24 @@ def htmlHeaderWithWebsiteMarkup(cssFilename: str, instanceTitle: str, ' ]\n' + \ ' }\n' + \ ' \n' + + ogMetadata = \ + ' \n' + \ + ' \n' + \ + ' \n' + \ + ' \n' + \ + ' \n' + \ + ' \n' + \ + ' \n' + htmlStr = \ - htmlHeaderWithExternalStyle(cssFilename, instanceTitle, websiteMarkup, + htmlHeaderWithExternalStyle(cssFilename, instanceTitle, + ogMetadata + websiteMarkup, systemLanguage) return htmlStr