clean markup
This commit is contained in:
@@ -34,14 +34,14 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<!-- Meta Article -->
|
||||
<meta name="author" content="{{ article.author.name }}" />
|
||||
<meta name="description" content="{{ seo_description }}" />
|
||||
<meta name="keywords" content="{{ article.tags|join(', ') }}">
|
||||
<meta property="article:author" content="{{ article.author }}" />
|
||||
<meta property="article:section" content="{{ article.category }}" />
|
||||
<meta name="author" content="{{ article.author.name }}"/>
|
||||
<meta name="description" content="{{ seo_description }}"/>
|
||||
<meta name="keywords" content="{{ article.tags|join(', ') }}"/>
|
||||
<meta property="article:author" content="{{ article.author }}"/>
|
||||
<meta property="article:section" content="{{ article.category }}"/>
|
||||
<meta property="article:published_time" content="{{ article.date.strftime("%Y-%m-%d-T%H-%M-%S") }}"/>
|
||||
{% if article.modified %}
|
||||
<meta property="article:modified_time" content="{{ article.modified.isoformat() }}">
|
||||
<meta property="article:modified_time" content="{{ article.modified.isoformat() }}"/>
|
||||
{% endif %}
|
||||
|
||||
<!-- OpenGraph -->
|
||||
@@ -54,11 +54,11 @@
|
||||
<meta property="og:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}"/>
|
||||
|
||||
<!-- 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:url" content="{{ SITEURL }}/{{ article.url }}">
|
||||
<meta name="twitter:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}">
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="{{ article.title }} - {{ SITENAME }}"/>
|
||||
<meta name="twitter:description" content="{{ seo_description }}"/>
|
||||
<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 %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user