~zeitgeist/zeitgeist-project-website/trunk

« back to all changes in this revision

Viewing changes to templates/blogs.html

  • Committer: Jamal Fanaian
  • Date: 2009-12-03 23:19:06 UTC
  • Revision ID: jfanaian@its-4-20091203231906-ebczw0x4s2v9oxhc
Added more blogs page, and linked to announcements page in launchpad from front page

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "base.html" %}
 
2
 
 
3
{% block content %}
 
4
<h2 class="subheading">Developer's Blogs</h2>
 
5
 
 
6
<h3>Latest Posts</h3> 
 
7
 
 
8
<p>You can find more information about the developers in the <a href="{% url team %}" title="View the Zeitgeist team">Team</a> page.</p>
 
9
 
 
10
{% for entry in blogs %}
 
11
    <h4><a href="{{ entry.link }}">{{ entry.title }}</a></h4>
 
12
    <p class="entry-details">By {{ entry.author }} on {{ entry.date|date:"M, d Y" }}</p>
 
13
    <p class="readmore">
 
14
    {{ entry.content.0.value|striptags|safe|truncatewords:20 }}
 
15
    <a href="{{ entry.link }}">Read more</a>
 
16
    </p>
 
17
{% endfor %}
 
18
{% endblock %}