|
|
@ -1,3 +1,38 @@ |
|
|
|
|
|
|
|
|
|
|
|
<style> |
|
|
|
body{ |
|
|
|
background-color: antiquewhite; |
|
|
|
} |
|
|
|
h2,h1,h3,h4,p{ |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
.stran{ |
|
|
|
|
|
|
|
width: 60%; |
|
|
|
height: auto; |
|
|
|
background-color: rgb(240, 219, 162); |
|
|
|
margin-left: auto; |
|
|
|
margin-right: auto; |
|
|
|
} |
|
|
|
img { |
|
|
|
display: block; |
|
|
|
margin-left: auto; |
|
|
|
margin-right: auto } |
|
|
|
|
|
|
|
.mapa{ |
|
|
|
width: 600px; |
|
|
|
margin-left: auto; |
|
|
|
margin-right: auto; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
<div class="stran"> |
|
|
|
|
|
|
|
{% extends "base.html" %} |
|
|
|
|
|
|
|
{% load wagtailcore_tags wagtailimages_tags %} |
|
|
@ -5,19 +40,23 @@ |
|
|
|
{% block body_class %}template-blogpage{% endblock %} |
|
|
|
|
|
|
|
{% block content %} |
|
|
|
<p><a href="{{ page.get_parent.url }}">Return to blog</a></p> |
|
|
|
<h1>{{ page.title }}</h1> |
|
|
|
|
|
|
|
<div class="intro">{{ page.intro }}</div> |
|
|
|
|
|
|
|
{{ page.body|richtext }} |
|
|
|
|
|
|
|
<br> |
|
|
|
<div class="mapa"><iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2544.62179209428!2d14.302552115894034!3d50.37360640077979!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x470bda2ecf564eb3%3A0x9759674ea4200e63!2sCtin%C4%9Bves%2036%2C%20413%2001%20Ctin%C4%9Bves!5e0!3m2!1scs!2scz!4v1606335849321!5m2!1scs!2scz" width="600" height="450" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe></div> |
|
|
|
<br> |
|
|
|
{% for item in page.gallery_images.all %} |
|
|
|
<div style="float: left; margin: 10px"> |
|
|
|
{% image item.image fill-320x240 %} |
|
|
|
<div style="float: center; margin: 10px"> |
|
|
|
{% image item.image fill-600x400 %} |
|
|
|
<p>{{ item.caption }}</p> |
|
|
|
</div> |
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
<p><a href="{{ page.get_parent.url }}">Return to blog</a></p> |
|
|
|
|
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
{% endblock %} |
|
|
|
</div> |
|
|
|