Mercurial > public > sg101
view sg101/templates/news/index.html @ 1018:02ae9a4a846a
ManifestStaticFilesStorage: get rid of STATIC_URL in templates.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 06 Dec 2015 21:49:39 -0600 |
parents | 69e8aa135c2e |
children | 97f92a589de7 |
line wrap: on
line source
{% extends 'news/base.html' %} {% load script_tags %} {% load static from staticfiles %} {% block title %}News: {{ title }}{% endblock %} {% block news_css %} <link rel="stylesheet" type="text/css" href="{% static "css/pagination.css" %}" /> {% endblock %} {% block news_content %} <h3>{{ title }}</h3> {% if page.object_list %} {% include 'core/pagination.html' %} {% for story in page.object_list %} {% include 'news/story_summary.html' %} {% endfor %} {% include 'core/pagination.html' %} <div style="clear:right;"></div> {% else %} <p>No news at this time.</p> {% endif %} {% endblock %}