fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added small test code to dcparser.
[wolnelektury.git]
/
templates
/
catalogue
/
main_page.html
diff --git
a/templates/catalogue/main_page.html
b/templates/catalogue/main_page.html
index
507fa3a
..
0c58ada
100644
(file)
--- a/
templates/catalogue/main_page.html
+++ b/
templates/catalogue/main_page.html
@@
-1,5
+1,5
@@
{% extends "base.html" %}
{% extends "base.html" %}
-{% load catalogue_tags chunks %}
+{% load catalogue_tags chunks
cache
%}
{% block bodyid %}main-page{% endblock %}
{% block bodyid %}main-page{% endblock %}
@@
-24,7
+24,7
@@
<div id="tags-list">
<div id="categories-list">
{% if categories.set %}
<div id="tags-list">
<div id="categories-list">
{% if categories.set %}
- <h2>
Zestawy
</h2>
+ <h2>
Półki
</h2>
<ul>
{% for set in categories.set %}
<li><a href="{% catalogue_url set %}">{{ set }} ({{ set.count }})</a></li>
<ul>
{% for set in categories.set %}
<li><a href="{% catalogue_url set %}">{{ set }} ({{ set.count }})</a></li>
@@
-72,7
+72,7
@@
{% if categories.theme %}
<h2>Motywy</h2>
<ul>
{% if categories.theme %}
<h2>Motywy</h2>
<ul>
- {% for theme in
categories.theme
%}
+ {% for theme in
fragment_tags
%}
<li><a href="{% catalogue_url theme %}">{{ theme }} ({{ theme.count }})</a></li>
{% endfor %}
</ul>
<li><a href="{% catalogue_url theme %}">{{ theme }} ({{ theme.count }})</a></li>
{% endfor %}
</ul>
@@
-83,6
+83,8
@@
<div id="latest-blog-posts">
<h2>Aktualności z naszego bloga</h2>
<div id="latest-blog-posts">
<h2>Aktualności z naszego bloga</h2>
+ {% cache 1800 latest-blog-posts %}
{% latest_blog_posts "http://wolnepodreczniki.pl/feed/?s=Wolne%20Lektury" %}
{% latest_blog_posts "http://wolnepodreczniki.pl/feed/?s=Wolne%20Lektury" %}
+ {% endcache %}
</div>
{% endblock %}
</div>
{% endblock %}