camp/content/templates/project.html

37 lines
1.0 KiB
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-07-03 08:14:07 +00:00
{% for content in content %}
{% if forloop.last %}
<div class="large-8 medium-8 columns special-column">
<img src="http://camputer.org/images/{{content.image}}">
<div class="index-text">
<h4><a href="/{{content.type}}/{{ content.shortname }}/" class="big-title">{{content.title}} </a></h4>
<p> {{content.header|striptags}} </p>
</div>
{% endif %}
{% endfor %}
</div>
2017-06-10 09:59:00 +00:00
<div class="large-4 medium-4 columns">
2017-07-03 08:14:07 +00:00
<h4 class="sidebar-h4"> Ongoing Projects </h4>
2017-06-10 09:59:00 +00:00
<div class="row">
{% for content in content %}
<div class="row right-items">
<div class="small-6 columns">
<img src="http://camputer.org/images/{{ content.image }}">
</div>
<div class="small-6 columns">
2017-07-03 08:14:07 +00:00
<a href="/{{content.type}}/{{ content.shortname }}/" class="sidebar-title">{{ content.title }}</a>
<p> {{content.header|striptags|truncatechars:100}} </p>
2017-06-10 09:59:00 +00:00
</div>
</div>
{% endfor %}
</div>
</div>
{% endblock %}