summaryrefslogtreecommitdiff
path: root/templates/public
diff options
context:
space:
mode:
Diffstat (limited to 'templates/public')
-rw-r--r--templates/public/donate.html4
-rw-r--r--templates/public/download.html4
-rw-r--r--templates/public/userlist.html4
3 files changed, 12 insertions, 0 deletions
diff --git a/templates/public/donate.html b/templates/public/donate.html
index 664f6c5d..3e4e50c9 100644
--- a/templates/public/donate.html
+++ b/templates/public/donate.html
@@ -1,7 +1,10 @@
{% extends "base.html" %}
+{% load cache %}
+
{% block title %}Arch Linux - Donate{% endblock %}
{% block content %}
+{% cache 600 donations %}
<div id="donations" class="box">
<h2>Donate to Arch Linux</h2>
@@ -83,4 +86,5 @@
<div class="clear"></div>
<p>A huge thanks to you all for your contributions!</p>
</div>
+{% endcache %}
{% endblock %}
diff --git a/templates/public/download.html b/templates/public/download.html
index 2f1bc8bd..09209c96 100644
--- a/templates/public/download.html
+++ b/templates/public/download.html
@@ -1,4 +1,6 @@
{% extends "base.html" %}
+{% load cache %}
+
{% block title %}Arch Linux - Downloads{% endblock %}
{% block navbarclass %}anb-download{% endblock %}
@@ -133,6 +135,7 @@
</ul>
{% endwith %}
+ {% cache 600 download-mirrors %}
<table id="download-mirrors">
<thead>
<tr>
@@ -157,6 +160,7 @@
</td></tr>
</tbody>
</table>
+ {% endcache %}
<p>If you want to become an Official Arch Linux Mirror please follow the
instructions listed <a href="http://wiki.archlinux.org/index.php/DeveloperWiki:NewMirrors">here</a>.</p>
diff --git a/templates/public/userlist.html b/templates/public/userlist.html
index 658e64e6..c51215c3 100644
--- a/templates/public/userlist.html
+++ b/templates/public/userlist.html
@@ -1,7 +1,10 @@
{% extends "base.html" %}
+{% load cache %}
+
{% block title %}Arch Linux - {{ user_type }}{% endblock %}
{% block content %}
+{% cache 600 dev-tu-profiles user_type %}
<div id="dev-tu-profiles" class="box">
<h2>Arch Linux {{user_type}}</h2>
@@ -13,4 +16,5 @@
{% endwith %}
</div>
+{% endcache %}
{% endblock %}