Skip to content
Snippets Groups Projects
Commit bb929604 authored by martin.zumr's avatar martin.zumr
Browse files

[FIX] image in template

parent 28be6975
No related branches found
No related tags found
3 merge requests!607Pirati.cz,!592[ADD] update_articles command,!575Feature/pirati cz
Pipeline #9473 passed
{% load wagtailimages_tags %}
<div class="p-7 flex flex-col max-w-xl border border-grey-150 mb-8">
{% image article_page.image max-500x500 as image %}
<img
src='/media/original_images/{{ article_page.image }}' alt=""
src='{{ image.url }}' alt=""
class="mb-7"
>
<h2 class="head-2xl mb-4">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment