Replace summary for description in meta-tags
This commit is contained in:
parent
cfaa8d44db
commit
c3dfc88969
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
{% block meta %}
|
||||
<meta name="author" content="{{ article.author.name }}" />
|
||||
<meta name="description" content="{{ article.summary|striptags|escape }}" />
|
||||
<meta name="description" content="{{ article.description|striptags|escape }}" />
|
||||
<meta name="keywords" content="{{ article.tags|join(', ')|escape }}">
|
||||
|
||||
{% include "partial/og_article.html" %}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{% endif %}
|
||||
<meta property="og:site_name" content="{{ SITENAME }}"/>
|
||||
<meta property="og:title" content="{{ article.title|striptags|escape }}"/>
|
||||
<meta property="og:description" content="{{ article.summary|striptags|escape }}"/>
|
||||
<meta property="og:description" content="{{ article.description|striptags|escape }}"/>
|
||||
<meta property="og:locale" content="{{ article.metadata.get('og_locale', default_locale) }}"/>
|
||||
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue