Mercurial > public > sg101
comparison gpp/templates/potd/view.html @ 312:88b2b9cb8c1f
Fixing #142; cut over to the django.contrib.staticfiles app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 02:56:10 +0000 |
parents | daa2916f5b34 |
children | 7dbdbb08e68c |
comparison
equal
deleted
inserted
replaced
311:b1c39788e511 | 312:88b2b9cb8c1f |
---|---|
2 {% load url from future %} | 2 {% load url from future %} |
3 {% load comment_tags %} | 3 {% load comment_tags %} |
4 {% load script_tags %} | 4 {% load script_tags %} |
5 {% block title %}Photo Of The Day{% endblock %} | 5 {% block title %}Photo Of The Day{% endblock %} |
6 {% block custom_css %} | 6 {% block custom_css %} |
7 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/potd.css" /> | 7 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/potd.css" /> |
8 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/comments.css" /> | 8 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/comments.css" /> |
9 {% endblock %} | 9 {% endblock %} |
10 {% block custom_js %} | 10 {% block custom_js %} |
11 {% script_tags "markitup jquery-ui" %} | 11 {% script_tags "markitup jquery-ui" %} |
12 <script type="text/javascript" src="{{ MEDIA_URL }}js/comments.js"></script> | 12 <script type="text/javascript" src="{{ STATIC_URL }}js/comments.js"></script> |
13 {% endblock %} | 13 {% endblock %} |
14 {% block content %} | 14 {% block content %} |
15 {% if is_current %} | 15 {% if is_current %} |
16 <h2>Photo Of The Day</h2> | 16 <h2>Photo Of The Day</h2> |
17 <h3>{% now "l, F d, Y" %}</h3> | 17 <h3>{% now "l, F d, Y" %}</h3> |