summaryrefslogtreecommitdiffstats
path: root/templates/public/donate.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-27 18:22:39 +0200
committerDan McGee <dan@archlinux.org>2010-10-27 18:22:39 +0200
commit49ca9df209fa771fec8eb2ca57617643948d0f31 (patch)
tree17ae69fce0df9dcaebce6a4f3c45260c12fc7246 /templates/public/donate.html
parent52662150470140cdea9bf1166265fb36ff4cd7c1 (diff)
downloadarchweb-49ca9df209fa771fec8eb2ca57617643948d0f31.tar.gz
archweb-49ca9df209fa771fec8eb2ca57617643948d0f31.tar.xz
Allow index and donate page to use resources from CDN
The index page is obviously hit more than just about every other page, so this will benefit the most from moving the sponsor images to a different domain. The donate page uses the same images. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public/donate.html')
-rw-r--r--templates/public/donate.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/public/donate.html b/templates/public/donate.html
index d8fa884..b5fc43d 100644
--- a/templates/public/donate.html
+++ b/templates/public/donate.html
@@ -1,10 +1,11 @@
{% extends "base.html" %}
{% load cache %}
+{% load cdn %}
{% block title %}Arch Linux - Donate{% endblock %}
{% block content %}
-{% cache 600 donations %}
+{% cache 600 donations secure %}
<div id="donations" class="box">
<h2>Donate to Arch Linux</h2>
@@ -57,18 +58,18 @@
in a server rack, bandwidth, and electricity for our main server.</p>
<a href="http://www.velocitynetwork.net/?hosting_by=ArchLinux"
- title="velocity network"><img src="/media/vnet_button.png" class="sponsor-btn-vnet"
+ title="velocity network"><img src="{% cdnprefix %}/media/vnet_button.png" class="sponsor-btn-vnet"
title="" alt="velocity network - it's about time" /></a>
<p>We also wish to extend a special Thank You to <a
href="https://www.sevenl.net/?utm_source=archlinux-org&amp;utm_medium=sponsored-banner&amp;utm_campaign=thanks-to-sevenl"
title="SevenL Networks - Dedicated Arch Linux servers">SevenL Networks</a>
for their generous and ongoing contribution of a dedicated Arch Linux
- server . You too can have a dedicated Arch Linux server hosted by SevenL...
+ server. You too can have a dedicated Arch Linux server hosted by SevenL...
head over to their website for more details.</p>
<a href="https://www.sevenl.net/?utm_source=archlinux-org&amp;utm_medium=sponsored-banner&amp;utm_campaign=thanks-to-sevenl"
- title="SevenL Networks - Dedicated Arch Linux servers"><img src="/media/sevenl_button.png"
+ title="SevenL Networks - Dedicated Arch Linux servers"><img src="{% cdnprefix %}/media/sevenl_button.png"
class="sponsor-btn-sevenl" title="A big Thank You to SevenL Networks for their generous contribution"
alt="We would like to express our thanks to SevenL Networks for their generous contribution" /></a>
@@ -76,7 +77,7 @@
title="AirVM.com">AirVM.com</a> for contributing a VMWare-based Virtual Machine.</p>
<a href="http://www.airvm.com/ArchLinux"
- title="AirVM.com - Your Green Technology Partner"><img src="/media/airvm_button.png"
+ title="AirVM.com - Your Green Technology Partner"><img src="{% cdnprefix %}/media/airvm_button.png"
class="sponsor-btn-airvm" title="AirVM.com - Your Green Technology Partner" alt="AirVM.com - Your Green Technology Partner" /></a>
<h3>Past donors</h3>