cleanup code
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
{% endif %}
|
||||
<!-- Meta Article -->
|
||||
<meta name="author" content="{{ article.author.name }}"/>
|
||||
<meta name="description" content="{{ seo_description }}"/>
|
||||
<meta name="description" content="{{ seo_description|striptags }}"/>
|
||||
<meta name="keywords" content="{{ article.tags|join(', ') }}"/>
|
||||
<meta property="article:author" content="{{ article.author }}"/>
|
||||
<meta property="article:section" content="{{ article.category }}"/>
|
||||
@@ -49,7 +49,7 @@
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:tag" content="{{ article.tags|join(',')|escape }}"/>
|
||||
<meta property="og:title" content="{{ article.title }} - {{ SITENAME }}"/>
|
||||
<meta property="og:description" content="{{ seo_description }}"/>
|
||||
<meta property="og:description" content="{{ seo_description|striptags }}"/>
|
||||
<meta property="og:site_name" content="{{ SITENAME }}"/>
|
||||
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}"/>
|
||||
<meta property="og:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}"/>
|
||||
@@ -57,7 +57,7 @@
|
||||
<!-- Twitter -->
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="{{ article.title }} - {{ SITENAME }}"/>
|
||||
<meta name="twitter:description" content="{{ seo_description }}"/>
|
||||
<meta name="twitter:description" content="{{ seo_description|striptags }}"/>
|
||||
<meta name="twitter:url" content="{{ SITEURL }}/{{ article.url }}"/>
|
||||
<meta name="twitter:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}"/>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user