section.html (505B)
1 {% extends "index.html" %} 2 {% block content %} 3 <h2 id="section-title">{{ section.title }}</h2> 4 <ul id="section-list"> 5 {% for page in section.pages %} 6 <li> 7 <a href="{{ page.permalink }}">{{ page.title }}</a> 8 {% if page.summary %} 9 <div class="summary">{{ page.summary | safe }}</div> 10 {% else %} 11 <p class="summary">{{ page.description }}</p> 12 {% endif %} 13 </li> 14 {% endfor %} 15 </ul> 16 {% endblock content %}