2015-09-08 04:23:32 +00:00
{% load i18n thumbnail %}
2015-09-26 19:04:48 +00:00
< article id = "post-{{ post.slug }}" class = "post-item col-lg-12 text-center" >
2015-09-26 19:42:46 +00:00
{% if post.main_image %}
2015-09-26 19:04:48 +00:00
< div class = "blog-visual" >
{% thumbnail post.main_image post.full_image_options.size crop=post.full_image_options.crop upscale=post.full_image_options.upscale subject_location=post.main_image.subject_location as thumb %}
2015-09-26 22:46:30 +00:00
< img src = "{{ post.main_image.url }}" alt = "{{ post.main_image.default_alt_text }}" class = "img-responsive img-full" / >
2015-09-26 19:04:48 +00:00
< / div >
{% endif %}
< header >
2015-09-26 22:03:09 +00:00
< hr > < / hr >
< h2 class = "text-center intro-text" >
< a href = "{% url 'digitalglarus:blog-detail' post.slug %}" class = "post-title center-block" >
2015-09-26 19:04:48 +00:00
{{ post.title }}
< / a >
< small >
{{ post.date_created }}
< / small >
< / h2 >
2015-09-26 22:03:09 +00:00
< hr > < / hr >
{% block blog_meta %}
2015-09-26 22:37:53 +00:00
{# include "glarus_blog/includes/blog_meta.html" #}
2015-09-26 22:03:09 +00:00
{% endblock %}
2015-09-26 19:04:48 +00:00
< / header >
2015-09-26 22:03:09 +00:00
< div class = "blog-lead text-center blog-abstract" >
2015-09-26 19:04:48 +00:00
< p >
{{ post.abstract| safe }}
< / p >
< / div >
2015-09-26 22:03:09 +00:00
< div class = "read-more" >
2015-09-26 19:04:48 +00:00
< a class = "lead" href = "{% url 'digitalglarus:blog-detail' post.slug %}" > {% trans "read more" %} » < / a >
2015-09-26 22:03:09 +00:00
< / div >
2015-09-26 19:04:48 +00:00
< / article >