Add RSS and Atom generators

Compress some static files when copy (and not only when generate)
Fix a visual bug with articles table
This commit is contained in:
2012-08-25 22:33:34 +02:00
parent a5c5e7edc8
commit e270a52e41
7 changed files with 185 additions and 5 deletions

View File

@@ -15,6 +15,7 @@
{% else %}
{% autoescape off %}
{{ report }}
<br/><br/>
{% endautoescape %}
{% endif %}
{% if articles|length == 0 %}
@@ -23,7 +24,7 @@
{% else %}
<table>
{% for article in articles %}
<hr><hl><a href="/article/edit/{{ article.id }}">{{ article.id }}</a></hl><hl>{{ article.title }}</hl><hl>{{ article.category.name }}</hl><hl>{{ article.creation_date }}</hl><hl>{{ article.published }}</hl><hl>{{ article.front_page }}</hl><hl><a href="/article/delete/{{ article.id }}">Delete</a></hl></hr>
<tr><td><a href="/article/edit/{{ article.id }}">{{ article.id }}</a></td><td>{{ article.title }}</td><td>{{ article.category.name }}</td><td>{{ article.creation_date }}</td><td>{{ article.published }}</td><td>{{ article.front_page }}</td><td><a href="/article/delete/{{ article.id }}">Delete</a></td></tr>
{% endfor %}
{% endif %}
</table>