{% macro og_preview() %}
{%- if current_url -%}
{%- endif -%}
{%- if config.extra.og_preview_img -%}
{%- endif -%}
{% endmacro og_preview %}
{% macro og_description() %}
{%- if section -%}
{%- if section.description -%}
{{ section.description }}
{%- else -%}
{{ config.description }}
{%- endif -%}
{%- elif page -%}
{%- if page.summary | string -%}
{{ page.summary | striptags | truncate(length=200) }}
{%- elif page.description -%}
{{ page.description }}
{%- else -%}
{{ config.description }}
{%- endif -%}
{%- endif -%}
{% endmacro og_description %}
{% macro og_title() -%}
{{ config.title }} -
{%- if section -%}
{%- if section.title -%}
{{ section.title | striptags }}
{%- else -%}
{{ config.description }}
{%- endif -%}
{%- elif page -%}
{%- if page.title -%}
{{ page.title | striptags }}
{%- else -%}
{{ config.description }}
{%- endif -%}
{%- endif -%}
{% endmacro og_title %}