camp/content/templates/content.html

28 lines
1.1 KiB
HTML
Raw Normal View History

2017-12-23 11:06:13 +00:00
{% extends 'base.html' %}
{% block content %}
{% include "edit.html" %}
<div class="large-8 medium-8 columns special-column">
2018-06-10 14:06:27 +00:00
{% if content.image_url %}
2017-12-23 11:06:13 +00:00
<img src="{{ content.image_url }}">
{% endif %}
<div class="index-text">
<h4><a href="{{ content.get_absolute_url }}" class="big-title">{{content.title}}</a></h4>
2017-12-23 21:04:44 +00:00
{% if content.type.name == 'events' %}
<h6 class="content-date">
<font color="#ef4e5c">
<b> {{ content.datestart }} {% if content.dateend %} - {{content.dateend}} {% endif %} </b>
</font>
{% if content.place %}<br/>{{content.place}}{% endif%}
</h6>
{% endif %}
2017-12-23 11:06:13 +00:00
<p> {{content.formatted_header|safe}} </p>
<p> {{content.formatted_body|safe}} </p>
{% include "opt.html" %}
{% include "links.html" %}
{% include "gallery.html" with gallery=content.gallery %}
</div>
</div>
{% include "latest_content.html" %}
{% endblock %}