macros/head: add OpenGraph site_name tag

The tag `og:site_name` is an optional OpenGraph[0] tag for the website
name. The tag `og:title` is for the page name. This improves displaying
the page in embedded "cards".

- [0] https://ogp.me/
This commit is contained in:
Heitor Pascoal de Bittencourt 2024-11-19 11:15:16 -03:00
parent 7f630a4e31
commit 3c867a0909
No known key found for this signature in database
GPG key ID: 2DD9C1566E2774A2

View file

@ -78,8 +78,9 @@
{%- endif -%}{# #}
<meta name="description" content="{{ description | safe }}">
<meta property="og:description" content="{{ description | safe }}">
<meta property="og:site_name" content="{{ config.title }}">
<meta property="og:title" content="{{ title | safe }}">
<meta property="og:description" content="{{ description | safe }}">
<meta property="og:type" content="{{ type }}">
<meta property="og:url" content="{{ permalink | safe }}">
{% if og_image %}