optional 'article_header={string}' directive in site's config.ini file
This commit is contained in:
parent
9de0095c8d
commit
87dd96adbd
@ -279,7 +279,7 @@ class CProject {
|
||||
|
||||
<div class="projbody projbody_<?=(count($this->images) ? 'half' : 'full')?>w">
|
||||
|
||||
<strong>ABOUT</strong>
|
||||
<strong><?=hesc(strtoupper(ARTICLE_HEADER))?></strong>
|
||||
|
||||
<p><?=text2html($this->longdesc)?></p>
|
||||
|
||||
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user