Use site.twitter.name
This commit is contained in:
parent
ba1f64cee5
commit
cdefcba427
|
@ -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 %}
|
||||
|
|
Reference in a new issue