diff --git a/cfg/conf.ini b/cfg/conf.ini
index 77c43ec..5b91ece 100644
--- a/cfg/conf.ini
+++ b/cfg/conf.ini
@@ -20,6 +20,9 @@ burnafterreadingselected = false
; size limit per paste or comment in bytes, default is 2 Mibibytes
sizelimit = 2097152
+; template to include, default is "page" (tpl/page.html)
+template = "page"
+
[expire]
; expire value that is selected per default
; make sure the value exists in [expire_options]
diff --git a/lib/zerobin.php b/lib/zerobin.php
index 1e57fbb..89585db 100644
--- a/lib/zerobin.php
+++ b/lib/zerobin.php
@@ -405,7 +405,7 @@ class zerobin
$page->assign('SYNTAXHIGHLIGHTING', $this->_conf['main']['syntaxhighlighting']);
$page->assign('EXPIRE', $expire);
$page->assign('EXPIREDEFAULT', $this->_conf['expire']['default']);
- $page->draw('page');
+ $page->draw($this->_conf['main']['template']);
}
/**
diff --git a/tpl/page.html b/tpl/page.html
index 652e6d4..abff849 100644
--- a/tpl/page.html
+++ b/tpl/page.html
@@ -10,8 +10,8 @@
-
-
+ {if="$SYNTAXHIGHLIGHTING"}
+ {/if}