Use site.twitter.name

This commit is contained in:
Oliver Davies 2015-09-13 17:59:01 +01:00
parent ba1f64cee5
commit cdefcba427

View file

@ -27,11 +27,11 @@
{% if og.image %}
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:image:src" content="{{ og.image.url }}">
<meta name="twitter:creator" content="@opdavies"/>
<meta name="twitter:creator" content="@{{ site.twitter.name }}"/>
{% else %}
<meta name="twitter:card" content="summary"/>
{% endif %}
<meta name="twitter:title" content="{{ og.title|raw }}"/>
<meta name="twitter:description" content="{{ og.description|raw }}"/>
<meta name="twitter:site" content="@opdavies"/>
<meta name="twitter:site" content="@{{ site.twitter.name }}"/>
{% endif %}