Skip to content
Snippets Groups Projects
Commit 707a68fc authored by cubicroot's avatar cubicroot
Browse files

add space in open graph title

parent bea1c870
Branches
Tags
No related merge requests found
{% macro headers(title, type="website", site_name=None, image=None, description=None) -%}
{% if site_name %}<meta property="og:site_name" content="{{ site_name }}" />{% endif %}
<meta property="og:title"
content="{%- if site_name -%}{{ site_name }}: {%- endif -%}{{ title }}" />
content="{%- if site_name -%}{{ site_name }}: {% endif -%}{{ title }}" />
<meta property="og:type" content="{{ type }}" />
{% if image %}
<meta property="og:image" content="{{ image.url }}" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment