summaryrefslogtreecommitdiff
path: root/design/templates/archives/src_home.html
blob: 0f676b5c93b7d6bd40d134df7e5a260c4d083195 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends 'src_base.html' %}
{% load typogrify_tags %}
{% load comments %}

{% block pagetitle %}luxagraf:src - archive{% endblock %}

{% block metadescription %}luxagraf:src - thoughts on code, the web, servers, tools and things that might be useful to a couple of people somewhere in the future.{% endblock %}
{% block primary %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>{% if topic %}
    <li><a href="/src/" title="luxagraf:src homepage" itemprop="url"><span itemprop="title"><code>src</code></span></a> &rarr; </li>
    <li>{{topic}}</li>{%else%}
    <li><code>src</code></li>{%endif%}
    </ul>
    <main role="main" id="src-archive" class="src-archive">
    <h1 class="topic-hed"><code>src:</code> {% if topic %}Articles about {{topic.pluralized_name}}{%else%}Archive{%endif%}</h1>
        <h3 class="latest">Latest Posts</h3>
        {% for object in object_list %}{% if object.slug != 'about' %}
        <article class="h-entry hentry {% cycle 'odd' 'even' %} {% cycle 'first' 'second' 'third' %}" itemscope itemType="http://schema.org/Article">
            <h2><a href="{{object.get_absolute_url}}">{{object.title|safe|smartypants|widont}}</a></h2>
            <p>{{object.meta_description|safe|smartypants|widont}} <a href="{{object.get_absolute_url}}">Read&nbsp;more.</a></p>
        </article>{%endif%}
        {%endfor%}
    </main>
{%endblock%}