diff --git a/inc/config.php b/inc/config.php index 1b45da14..e889d682 100644 --- a/inc/config.php +++ b/inc/config.php @@ -728,6 +728,15 @@ // Automatically remove unnecessary whitespace when compiling HTML files from templates. $config['minify_html'] = true; + /* + * Advertisement HTML to appear at the top and bottom of board pages. + */ + + // $config['ad'] = array( + // 'top' => '', + // 'bottom' => '', + // ); + /* * ==================== * Javascript diff --git a/templates/index.html b/templates/index.html index f8c1c594..39576e13 100644 --- a/templates/index.html +++ b/templates/index.html @@ -42,6 +42,8 @@ {% include 'boardlist.html' %} {% endif %} + {{ config.ad.top }} + {% if config.global_message %}