mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-23 01:30:01 +01:00
strip html from twitter cards excerpt
This commit is contained in:
parent
11170c4a2c
commit
da926a0487
@ -97,7 +97,7 @@
|
||||
{% if page.description %}
|
||||
<meta name="twitter:description" content="{{ page.description }}">
|
||||
{% else %}
|
||||
<meta name="twitter:description" content="{{ page.excerpt }}">
|
||||
<meta name="twitter:description" content="{{ page.excerpt | strip_html }}">
|
||||
{% endif %}
|
||||
{% if page.image %}
|
||||
<meta name="twitter:image:src" content="{{ site.url }}/media/{{ page.image }}">
|
||||
|
Loading…
Reference in New Issue
Block a user