summaryrefslogtreecommitdiff
path: root/templates/public/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/public/index.html')
-rw-r--r--templates/public/index.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/public/index.html b/templates/public/index.html
index 19b43c66..d1b1dc2e 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load markup %}
+{% load cache %}
{% block head %}
<link rel="alternate" type="application/rss+xml" title="Arch Linux News Updates" href="/feeds/news/" />
@@ -7,6 +8,7 @@
{% endblock %}
{% block content_left %}
+{% cache 300 main-page-left %}
<div id="intro" class="box">
<h2>A simple, lightweight distribution</h2>
@@ -49,9 +51,11 @@
{% endfor %}
</div><!-- #news -->
+{% endcache %}
{% endblock %}
{% block content_right %}
+{% cache 300 main-page-right %}
<div id="pkgsearch" class="widget">
<form id="pkgsearch-form" method="get" action="/packages/">
@@ -196,4 +200,5 @@
<a href="http://www.airvm.com/VirtualServers" title="AirVM.com - Your Green Technology Partner"><img src="/media/airvm_button.jpg" title="AirVM.com - Your Green Technology Partner" alt="AirVM.com - Your Green Technology Partner" /></a>
</div>
+{% endcache %}
{% endblock %}