##// END OF EJS Templates
Enable whole thread template caching in thread list again
neko259 -
r1647:da6303a3 default
parent child Browse files
Show More
@@ -4,6 +4,7 b''
4 {% load board %}
4 {% load board %}
5 {% load static %}
5 {% load static %}
6 {% load tz %}
6 {% load tz %}
7 {% load cache %}
7
8
8 {% block head %}
9 {% block head %}
9 <meta name="robots" content="noindex">
10 <meta name="robots" content="noindex">
@@ -118,6 +119,7 b''
118 {% endif %}
119 {% endif %}
119
120
120 {% for thread in threads %}
121 {% for thread in threads %}
122 {% cache 500 thread thread.id thread.last_edit_time LANGUAGE_CODE TIME_ZONE %}
121 <div class="thread">
123 <div class="thread">
122 {% post_view thread.get_opening_post thread=thread truncated=True need_open_link=True %}
124 {% post_view thread.get_opening_post thread=thread truncated=True need_open_link=True %}
123 {% if not thread.archived %}
125 {% if not thread.archived %}
@@ -141,6 +143,7 b''
141 {% endwith %}
143 {% endwith %}
142 {% endif %}
144 {% endif %}
143 </div>
145 </div>
146 {% endcache %}
144 {% endfor %}
147 {% endfor %}
145
148
146 {% if next_page_link %}
149 {% if next_page_link %}
General Comments 0
You need to be logged in to leave comments. Login now