{% extends 'frontend/layout.html.twig' %}
{% block title %} {{ seo_on_page.titulo }} {% endblock title %}
{% block metas_titulo %}
<meta name="title" content="{{ seo_on_page.titulo }}"/>
<meta http-equiv="title" content="{{ seo_on_page.titulo }}"/>
<meta name="DC.Title" content="{{ seo_on_page.titulo }}"/>
{% endblock metas_titulo %}
{% block metas_descripcion %}
<meta name="description" content="{{ seo_on_page.descripcion }}"/>
<meta http-equiv="description" content="{{ seo_on_page.descripcion }}"/>
<meta name="DC.description" content="{{ seo_on_page.descripcion }}"/>
{% endblock metas_descripcion %}
{% block keywords %}
<meta name="Keywords" content="{{ seo_on_page.tags }}"/>
<meta http-equiv="keywords" content="{{ seo_on_page.tags }}"/>
<meta name="DC.keywords" content="{{ seo_on_page.tags }}"/>
{% endblock keywords %}
{% block datosestructurados %}
{% endblock datosestructurados %}
{% block stylesheetspecific %}
{% endblock %}
{% block page_body_class %}page-blog-leftbar{% endblock %}
{% block header_nav_item_announcement_active_class %}active{% endblock %}
{% block content %}
<div id="content" class="p-0 clearfix">
<div id="blog" class="container py-4 py-lg-6">
<hr class="hr-lg mt-0 mb-2 w-10 mx-auto hr-primary"/>
<h2 class="text-slab text-center text-uppercase mt-0 mb-5">
Announcements
</h2>
<div class="row" data-animate="fadeIn" data-animate-delay="0.1">
<div class="col-md-12 blog-roll blog-list">
<!-- Blog post -->
{% for item in anuncios %}
<div class="row blog-post">
<div class="col-md-12 pl-0">
<h4 class="title media-heading">
<a href="{{ url('blogdetalle',{url: item.url}) }}">{{ item.nombre }}</a>
</h4>
<p class="mb-0"><i class="fa fa-calendar"></i> {{ item.fecha }}</p>
<p class="mb-0"><i class="fa fa-user"></i> {{ item.autor }}</p>
</div>
<div class="row">
{% if item.imagen != '' %}
<div class="col-md-4 push-md-8">
<div class="blog-media">
<a href="javascript:;">
<img src="{{ item.imagen }}" alt="{{ item.nombre }}" class="img-fluid"/>
</a>
</div>
</div>
{% endif %}
<div class="{% if item.imagen != '' %}col-md-8 pull-md-4{% else %}col-md-12{% endif %}">
<p>{{ item.resumen }}</p>
<ul class="list-inline links">
<li class="list-inline-item">
<a href="{{ url('blogdetalle',{url: item.url}) }}"
class="btn btn-secondary btn-sm"><i class="fa fa-arrow-circle-right"></i>
Read more</a>
</li>
</ul>
</div>
</div>
</div>
{% endfor %}
</div>
<div class="col-md-12">
<ul class="pagination justify-content-center mt-3">
{{ knp_pagination_render(anuncios, null) }}
</ul>
</div>
</div>
</div>
</div>
{% endblock %}
{% block javascriptspecific %}
{% endblock %}