Skip to content
Snippets Groups Projects
Commit d1bc08e3 authored by jarmil's avatar jarmil Committed by jan.bednarik
Browse files

Gallerie do stranky program2021 programovy bod

parent d7e331a8
No related branches found
No related tags found
No related merge requests found
{% load static wagtailcore_tags wagtailmetadata_tags %}
{% load static wagtailcore_tags wagtailimages_tags wagtailmetadata_tags %}
<!doctype html>
<html lang="en">
<head>
......
{% extends "program2021/base.html" %}
{% load wagtailimages_tags wagtailcore_tags %}
{% load static wagtailimages_tags wagtailcore_tags %}
{% block content %}
<div class="container">
......@@ -92,7 +93,17 @@
<p>{{ page.sources|richtext }}</p>
</div>
<div class="w-100 my-4"></div>
{% if page.images %}
<div class="row about-images mb-5 mt-3 jumbotron">
{% for block in page.images %}
{% image block.value width-2000 as img %}
{% image block.value fill-300x200 as thumb %}
<div class="col-6 col-md-3 mb-4">
<a data-fancybox="gallery" href="{{ img.url }}"><img data-src="{{ thumb.url }}" class="lazyload img-fluid" alt="{{ thumb.alt }}"></a>
</div><!-- /column -->
{% endfor %}
</div><!-- /row -->
{% endif %}
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment