mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 13:35:58 +00:00
Fixing Twitter Cards descriptino to strip tags first, then truncate.
This commit is contained in:
parent
487bc4afb0
commit
1437d76be0
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
<meta property="og:image" content="{{ active_story.image_url }}">
|
||||
{% endif %}
|
||||
<meta property="og:title" content="{{ active_story.story_title }}">
|
||||
<meta property="og:description" content="{{ active_story.story_content|slice:":300"|striptags|addslashes|safe }}">
|
||||
<meta property="og:description" content="{{ active_story.story_content|striptags|slice:":300"|addslashes|safe }}">
|
||||
<meta property="article:published_time" content="{{ active_story.iso8601 }}">
|
||||
<meta property="article:author" content="{{ active_story.story_authors }}">
|
||||
<meta property="article:tag" content="{{ active_story.tags }}">
|
||||
|
@ -43,7 +43,7 @@
|
|||
<meta name="twitter:site" content="@newsblur">
|
||||
<meta name="twitter:creator" content="@{{ user_social_services.twitter_username }}">
|
||||
<meta name="twitter:title" content="{{ active_story.story_title }}">
|
||||
<meta name="twitter:description" content="{{ active_story.story_content|slice:":300"|striptags|addslashes|safe }}">
|
||||
<meta name="twitter:description" content="{{ active_story.story_content|striptags|slice:":300"|addslashes|safe }}">
|
||||
{% endif %}
|
||||
|
||||
{% include_stylesheets "blurblog" %}
|
||||
|
|
Loading…
Add table
Reference in a new issue