Skip to content
Snippets Groups Projects
Commit b9f0a665 authored by jarmil's avatar jarmil
Browse files

NEW: program2021 - obrazky do programovych bodu

parent 0c1e6c79
No related branches found
No related tags found
No related merge requests found
{% extends "program2021/base.html" %}
{% load wagtailcore_tags %}
{% load static wagtailimages_tags wagtailcore_tags %}
{% block content %}
<section class="jumbotron text-center">
......@@ -161,6 +161,11 @@
<div class="card mb-4 shadow-sm">
<a href="{% pageurl point %}">
<div class="card-body">
<div class="mb-3">
{% if point.images.0.block_type == 'image' %}
{% image point.images.0.value max-400x200 class="w-100" %}
{% endif %}
</div>
<h5 class="card-title">{{ point.public_title }}</h5>
<p class="card-text">{{ point.annotation }}</p>
<p class="card-text">
......
{% extends "program2021/base.html" %}
{% load wagtailcore_tags %}
{% load wagtailimages_tags wagtailcore_tags %}
{% block content %}
<div class="container">
<div class="row">
<div class="jumbotron mb-5">
<h1 class="display-4">{{ page.public_title }}</h1>
<p class="lead">{{ page.annotation }}</p>
<div class="row">
<div class="col-12 col-lg-4">
{% if page.images.0.block_type == 'image' %}
{% image page.images.0.value max-300x200 class="" %}
{% endif %}
</div>
<div class="col-12 col-lg-8 px-lg-5">
<h1 class="display-4">{{ page.public_title }}</h1>
<p class="lead">{{ page.annotation }}</p>
</div>
</div>
<p class="mt-4 mb-0 text-right">
{% for tag in page.tags.all %}
<span class="badge badge-light"># {{ tag }}</span>
......
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