camp/content/templates/project.html

26 lines
713 B
HTML
Raw Normal View History

2017-06-10 09:59:00 +00:00
{% extends 'base.html' %}
2017-07-03 08:14:07 +00:00
2017-06-10 09:59:00 +00:00
{% block content %}
2017-12-18 12:54:04 +00:00
{% include "featured.html" %}
<div class="large-4 medium-4 columns">
2017-08-03 17:44:00 +00:00
<h4 class="sidebar-h4">Projects </h4>
2017-06-10 09:59:00 +00:00
<div class="row">
{% for content in content %}
<div class="row right-items">
2017-12-18 12:54:04 +00:00
{% if content.image_url %}
2017-06-10 09:59:00 +00:00
<div class="small-6 columns">
2017-12-18 12:54:04 +00:00
<img src="{{ content.image_url }}">
2017-06-10 09:59:00 +00:00
</div>
2017-12-18 12:54:04 +00:00
{% endif %}
2017-06-10 09:59:00 +00:00
<div class="small-6 columns">
2017-12-18 12:54:04 +00:00
<a href="{{content.get_absolute_url }}/" class="sidebar-title">{{ content.title }}</a>
2017-07-03 08:14:07 +00:00
<p> {{content.header|striptags|truncatechars:100}} </p>
2017-06-10 09:59:00 +00:00
</div>
</div>
{% endfor %}
2017-12-18 12:54:04 +00:00
</div>
</div>
2017-06-10 09:59:00 +00:00
2017-12-18 12:54:04 +00:00
{% endblock %}