You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2021/03/10 19:33:26 UTC
[lucene-site] branch main updated: LUCENE-9802: fix og:image and
provide separate secure_url
This is an automated email from the ASF dual-hosted git repository.
rmuir pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene-site.git
The following commit(s) were added to refs/heads/main by this push:
new 757b967 LUCENE-9802: fix og:image and provide separate secure_url
757b967 is described below
commit 757b967d2e01066d52bc350219a68582ec248cdd
Author: Robert Muir <rm...@apache.org>
AuthorDate: Wed Mar 10 14:32:19 2021 -0500
LUCENE-9802: fix og:image and provide separate secure_url
The og:image should be http, with a separate tag for secure url
---
themes/lucene/templates/lucene/base.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/themes/lucene/templates/lucene/base.html b/themes/lucene/templates/lucene/base.html
index d7e6717..0120cdd 100644
--- a/themes/lucene/templates/lucene/base.html
+++ b/themes/lucene/templates/lucene/base.html
@@ -9,7 +9,8 @@
open source"/>{% endblock %}
{% block ogmeta %}
<meta name="og:title" content="{{ page.title }}"/>
- <meta name="og:image" content="https://lucene.apache.org/theme/images/lucene/core/mantle-innovation.png{{ STATIC_RESOURCE_SUFFIX }}"/>
+ <meta name="og:image" content="http://lucene.apache.org/theme/images/lucene/core/mantle-innovation.png{{ STATIC_RESOURCE_SUFFIX }}"/>
+ <meta name="og:image:secure_url" content="https://lucene.apache.org/theme/images/lucene/core/mantle-innovation.png{{ STATIC_RESOURCE_SUFFIX }}"/>
{% endblock %}
{% block favicon %}<link rel="shortcut icon" type="image/png"
href="{{ SITEURL }}/theme/images/lucene/lucene-favicon.png{{ STATIC_RESOURCE_SUFFIX }}"/>{% endblock %}