mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-04-04 00:17:12 +02:00
Merge 5b2095eb5a
into 7f630a4e31
This commit is contained in:
commit
eea3bb1987
|
@ -32,7 +32,7 @@
|
|||
{% macro open_graph(config) %}
|
||||
{%- if page %}
|
||||
{%- 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 type = "article" %}
|
||||
{%- if page.extra and page.extra.og_image %}
|
||||
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue