From 87dd96adbd3823a6588712fb5940f634de7c59b9 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 6 Sep 2015 11:48:26 +1200 Subject: [PATCH] optional 'article_header={string}' directive in site's config.ini file --- rebuild.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rebuild.php b/rebuild.php index e6fd0fb..eb56569 100644 --- a/rebuild.php +++ b/rebuild.php @@ -279,7 +279,7 @@ class CProject {
- ABOUT +

longdesc)?>

@@ -512,6 +512,7 @@ function main($args) { define('INDEX_THUMB_W', intval($config['codesite']['index_thumb_w'])); define('INDEX_THUMB_H', intval($config['codesite']['index_thumb_h'])); define('SHOW_BLURBS', !(isset($config['codesite']['blurbs']) && $config['codesite']['blurbs'] === 'off') ); + define('ARTICLE_HEADER', (isset($config['codesite']['article_header']) ? $config['codesite']['article_header'] : 'ABOUT') ); // Perform build tasks