simple-web-app

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

tag.html (474B)


      1 <div class="tag-page">
      2   <h2>Stories tagged "{{ tag_name }}"</h2>
      3 
      4   {% if stories.is_empty() %}
      5   <p class="empty-message">No stories with this tag yet.</p>
      6   {% else %}
      7   <ol class="story-list" start="{{ page * 30 + 1 }}">
      8     {% for story in stories %}
      9     {% include "story_row.html" %}
     10     {% endfor %}
     11   </ol>
     12 
     13   {% if !reached_end %}
     14   <div class="more-link">
     15     <a href="/tag/{{ tag_name }}?page={{ page + 1 }}">More</a>
     16   </div>
     17   {% endif %}
     18   {% endif %}
     19 </div>