camp/content/templates/section_index.html

27 lines
755 B
HTML
Raw Normal View History

2017-12-18 12:54:04 +00:00
{% extends 'base.html' %}
{% block content %}
{% include "featured.html" %}
<div class="large-4 medium-4 columns">
<h4 class="sidebar-h4"> {{ section }} </h4>
<div class="row">
{% for content in content %}
<div class="row right-items">
{% if content.image_url %}
<div class="small-6 columns">
<img src="{{ content.image_url }}">
</div>
{% endif %}
<div class="small-6 columns">
<a href="{{ content.get_absolute_url }}/" class="sidebar-title">{{ content.title }}</a>
2017-12-18 14:29:17 +00:00
<p> {{content.formatted_teaser}} </p>
2017-12-18 12:54:04 +00:00
</div>
</div>
{% endfor %}
<a href="index/">more</a>
2017-12-18 12:54:04 +00:00
</div>
</div>
{% endblock %}