Fix twitter card
This commit is contained in:
@@ -38,11 +38,13 @@
|
||||
{% else %}
|
||||
<title>{% if section.title %}{{ section.title }} • {% endif %}{% if page.title %}{{ page.title }} • {% endif %}{{ config.title }}</title>
|
||||
<meta property="og:title" content="{% if section.title %}{{ section.title }} • {% endif %}{% if page.title %}{{ page.title }} • {% endif %}{{ config.title }}" />
|
||||
<meta property="twitter:title" content="{% if section.title %}{{ section.title }} • {% endif %}{% if page.title %}{{ page.title }} • {% endif %}{{ config.title }}" />
|
||||
{% endif %}
|
||||
<meta property="og:image" content="{% if page.extra.imgPath %} {{ config.base_url }}/{{ page.extra.imgPath }} {% endif %}" />
|
||||
<meta property="og:description" content="{% if page.description %}{{ page.description }} {% endif %}" />
|
||||
<meta property="twitter:image" content="{% if page.extra.imgPath %} {{ config.base_url }}/{{ page.extra.imgPath }} {% endif %}" />
|
||||
<meta property="twitter:description" content="{% if page.description %}{{ page.description }} {% endif %}" />
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
{% endblock title %}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user