structured-data
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock %}">
|
||||
<head prefix="og: http://ogp.me/ns# {% if article %}article: http://ogp.me/ns/video#{% endif%}">
|
||||
<head prefix="og: http://ogp.me/ns#{% if article %}article: http://ogp.me/ns/video#{% endif%}"{% if article %} itemscope itemtype="https://schema.org/VideoObject"{% endif %}>
|
||||
{% block head %}
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
@@ -117,7 +117,7 @@
|
||||
|
||||
<div class="row">
|
||||
{% for article in articles_page.object_list %}
|
||||
<article class="col-md-3 video">
|
||||
<article class="col-md-3 video" itemscope itemtype="https://schema.org/Movie">
|
||||
<a href="{{ SITEURL }}/{{ article.url }}">
|
||||
<div class="area">
|
||||
<div class="mask">
|
||||
@@ -130,9 +130,9 @@
|
||||
</div> <!-- End Mask / Hover -->
|
||||
|
||||
{% if article.image %}
|
||||
<img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}" alt="{{ article.title }}" class="img-fluid">
|
||||
<img itemprop="image" src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/../wp-content/uploads/article/poster/{{ article.image }}" alt="{{ article.title }}" class="img-fluid">
|
||||
{% else %}
|
||||
<img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/video.png" alt="video" class="img-fluid">
|
||||
<img itemprop="image" src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/video.png" alt="video" class="img-fluid">
|
||||
{% endif %}
|
||||
|
||||
{% if article.time %}
|
||||
@@ -144,7 +144,7 @@
|
||||
</div> <!-- End Area -->
|
||||
</a>
|
||||
|
||||
<h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="{{ _('Ver %(articulo)s', articulo=article.title|striptags) }}">{{ article.title }}</a></h2>
|
||||
<h2 itemprop="name"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="{{ _('Ver %(articulo)s', articulo=article.title|striptags) }}">{{ article.title }}</a></h2>
|
||||
|
||||
<!-- post footer -->
|
||||
{% include "article_info.html" %}
|
||||
|
||||
Reference in New Issue
Block a user