From 9de0095c8d9d4ae8d27ae676018772c311d90dbe Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 6 Sep 2015 11:01:13 +1200 Subject: [PATCH] optional 'blurbs=off' directive in site's config.ini file --- rebuild.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rebuild.php b/rebuild.php index 59af531..e6fd0fb 100644 --- a/rebuild.php +++ b/rebuild.php @@ -448,8 +448,9 @@ function buildcommon() { projname]) ? '
' : '
')?>
- projname)?>, + projname)?> , shortdesc)?> + more... subtag) || count($pr->tags)) { ?>
@@ -510,6 +511,7 @@ function main($args) { define('PAGE_THUMB_H', intval($config['codesite']['page_thumb_h'])); 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') ); // Perform build tasks