##// END OF EJS Templates
Added a short simple cache to the post template
neko259 -
r543:cc55cb0b 1.7-dev
parent child Browse files
Show More
@@ -1,6 +1,10 b''
1 {% load i18n %}
1 {% load i18n %}
2 {% load board %}
2 {% load board %}
3 {% load cache %}
3
4
5 {% get_current_language as LANGUAGE_CODE %}
6
7 {% cache 60 post post.id post.thread_new.last_edit_time truncated moderator LANGUAGE_CODE %}
4 {% spaceless %}
8 {% spaceless %}
5 {% with thread=post.thread_new %}
9 {% with thread=post.thread_new %}
6 {% if thread.archived %}
10 {% if thread.archived %}
@@ -89,3 +93,4 b''
89 </div>
93 </div>
90 {% endwith %}
94 {% endwith %}
91 {% endspaceless %}
95 {% endspaceless %}
96 {% endcache %} No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now