From 49ca9df209fa771fec8eb2ca57617643948d0f31 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 27 Oct 2010 11:22:39 -0500 Subject: 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 --- templates/public/index.html | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'templates/public/index.html') diff --git a/templates/public/index.html b/templates/public/index.html index aa3f5c08..ace7bd31 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {% load markup %} {% load cache %} +{% load cdn %} {% block head %} @@ -8,7 +9,7 @@ {% endblock %} {% block content_left %} -{% cache 300 main-page-left %} +{% cache 300 main-page-left secure %}

A simple, lightweight distribution

@@ -41,7 +42,7 @@

Latest News (more)

RSS Feed + class="rss-icon">RSS Feed {% for news in news_updates %}

@@ -73,7 +74,7 @@

Recent Updates (more)

RSS Feed + class="rss-icon">RSS Feed {% for update in pkg_updates %} @@ -207,9 +208,15 @@

About

- Velocity Network - It's about time - We would like to express our thanks to SevenL Networks for their generous contribution - AirVM.com - Your Green Technology Partner + + Velocity Network - It's about time + + + We would like to express our thanks to SevenL Networks for their generous contribution + + + AirVM.com - Your Green Technology Partner +
{% endcache %} -- cgit v1.2.3-54-g00ecf