diff --git a/templates/system/page.tpl.php b/templates/system/page.tpl.php
index 42d5764..32c0992 100644
--- a/templates/system/page.tpl.php
+++ b/templates/system/page.tpl.php
@@ -163,6 +163,9 @@

   </div>
 </div>
-<footer class="footer container">
-  <?php print render($page['footer']); ?>
-</footer>
+
+<? php if (!empty($page['footer'])): ?>
+  <footer class="footer container">
+    <?php print render($page['footer']); ?>
+  </footer>
+<?php endif; ?>

