This commit is contained in:
Heitor de Bittencourt 2024-11-19 14:19:46 +00:00 committed by GitHub
commit eea3bb1987
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,7 +32,7 @@
{% macro open_graph(config) %} {% macro open_graph(config) %}
{%- if page %} {%- if page %}
{%- set permalink = page.permalink %} {%- set permalink = page.permalink %}
{%- set title = title_macros::title(page_title=page.title, main_title=config.title) %} {%- set title = page.title %}
{%- set description = page.description %} {%- set description = page.description %}
{%- set type = "article" %} {%- set type = "article" %}
{%- if page.extra and page.extra.og_image %} {%- if page.extra and page.extra.og_image %}
@ -78,8 +78,9 @@
{%- endif -%}{# #} {%- endif -%}{# #}
<meta name="description" content="{{ description | safe }}"> <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:title" content="{{ title | safe }}">
<meta property="og:description" content="{{ description | safe }}">
<meta property="og:type" content="{{ type }}"> <meta property="og:type" content="{{ type }}">
<meta property="og:url" content="{{ permalink | safe }}"> <meta property="og:url" content="{{ permalink | safe }}">
{% if og_image %} {% if og_image %}