Merge branch 'main' into production
diff --git a/themes/lucene/templates/lucene/base.html b/themes/lucene/templates/lucene/base.html
index b789b94..5a7e099 100644
--- a/themes/lucene/templates/lucene/base.html
+++ b/themes/lucene/templates/lucene/base.html
@@ -8,8 +8,11 @@
search, information retrieval, spell checking, faceting, inverted index,
open source"/>{% endblock %}
{% block ogmeta %}
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://lucene.apache.org/{{ page.url }}"/>
<meta property="og:title" content="{{ page.title }}"/>
- <meta property="og:image" content="http://lucene.apache.org/theme/images/lucene/lucene_og_image.png{{ STATIC_RESOURCE_SUFFIX }}"/>
+ <meta property="og:description" content="{{ page.content | striptags | replace("\"", """) | truncate(137, False, '...') }}"/>
+ <meta property="og:image" content="https://lucene.apache.org/theme/images/lucene/lucene_og_image.png{{ STATIC_RESOURCE_SUFFIX }}"/>
<meta property="og:image:secure_url" content="https://lucene.apache.org/theme/images/lucene/lucene_og_image.png{{ STATIC_RESOURCE_SUFFIX }}"/>
{% endblock %}
{% block favicon %}<link rel="shortcut icon" type="image/png"