PageRenderTime 41ms CodeModel.GetById 36ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/hyde/layouts/basic/layout/listing.j2

http://github.com/hyde/hyde
Jinja | 13 lines | 12 code | 1 blank | 0 comment | 3 complexity | 1e5fcf3d46e6e85a8810c47279624313 MD5 | raw file
 1{% extends "base.j2" %}
 2{% from "macros.j2" import render_excerpt with context  %}
 3{% block main %}
 4{% block page_title %}<h1 class="title">{{ resource.meta.title }}</h1>{% endblock %}
 5
 6<ul class="listing clearfix">
 7{% for res in resource.node.walk_resources_sorted_by_time() %}
 8<li>
 9    {{ render_excerpt(res) }}
10</li>
11{% endfor %}
12</ul>
13{% endblock %}