structured-data
This commit is contained in:
@@ -18,9 +18,11 @@
|
||||
{{ translations.entry_hreflang(article) }}
|
||||
{% endif %}
|
||||
<meta property="og:title" content="{{ article.title }}">
|
||||
<meta itemprop="name" content="{{ article.title }}">
|
||||
<meta property="og:type" content="video.movie">
|
||||
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}">
|
||||
<meta property="video:release_date" content="{{ article.date.isoformat() }}">
|
||||
<meta itemprop="uploadDate" content="{{ article.date.isoformat() }}">
|
||||
{% if article.modified %}
|
||||
<meta property="article:modified_time" content="{{ article.modified.isoformat() }}">
|
||||
{% endif %}
|
||||
@@ -35,8 +37,10 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<meta property="og:description" content="{{ article.summary|striptags|escape }}"/>
|
||||
<meta itemprop="description" content="{{ article.summary|striptags|escape }}"/>
|
||||
{% if article.image %}
|
||||
<meta property="og:image" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}"/>
|
||||
<meta itemprop="thumbnailURL" content="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}">
|
||||
{% elif OPEN_GRAPH_IMAGE %}
|
||||
<meta property="og:image" content="{{ SITEURL }}/{{ OPEN_GRAPH_IMAGE }}"/>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user