digitalglarus: templates blog fixed image
This commit is contained in:
parent
2cc4ea226d
commit
f3c14fab11
3 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{% load i18n thumbnail %}
|
||||
|
||||
<article id="post-{{ post.slug }}" class="post-item col-lg-12 text-center">
|
||||
{% if image and post.main_image %}
|
||||
{% if post.main_image %}
|
||||
<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 %}
|
||||
<img src="{{ post.main_image.url }}" alt="{{ post.main_image.default_alt_text }}" class="img-responsive img-border img-full" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue