From 5fea6806cc8ac7ce42141ef8b245b0fb59e66ec6 Mon Sep 17 00:00:00 2001 From: Alexander Wirt Date: Mon, 9 Jan 2012 20:58:30 +0100 Subject: [PATCH] Don't include the sponsoring part on the sponsoring site --- sponsors/index.html.tt2 | 4 +++- static_bottom.inc | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sponsors/index.html.tt2 b/sponsors/index.html.tt2 index 559388c..42d2532 100644 --- a/sponsors/index.html.tt2 +++ b/sponsors/index.html.tt2 @@ -61,4 +61,6 @@ -[% INCLUDE static_bottom.inc %] + [% INCLUDE static_bottom.inc + sponsoring = '1' + %] diff --git a/static_bottom.inc b/static_bottom.inc index f36ce01..011dce1 100644 --- a/static_bottom.inc +++ b/static_bottom.inc @@ -1,4 +1,5 @@ -
+[% IF ! sponsors %] +

Sponsors

Grml is sponsored by several companies. For more information about our sponors check out the Sponsors webpage. Our main sponsor is: @@ -9,7 +10,7 @@

- +[% END %]