Default for docs_path + heading

This commit is contained in:
Jakub Mikulas 2014-01-20 13:26:34 +01:00
parent eefdce41bf
commit 5533c2e838
2 changed files with 9 additions and 4 deletions

View File

@ -326,7 +326,11 @@ if ($homepage && $homepage_url !== '/') {
</div> </div>
<?php } else { ?> <?php } else { ?>
<div class="page-header"> <div class="page-header">
<h1><?php echo $page['title'];?></h1> <h1><?php echo $page['title'];?>
<?php if($options["file_editor"]) { ?>
<a href="javascript:;" id="editThis" class="btn">Edit this page</a>
<?php } ?>
</h1>
</div> </div>
<?php } ?> <?php } ?>
<?php echo $page['html'];?> <?php echo $page['html'];?>

View File

@ -35,6 +35,7 @@ function get_options() {
'tagline' => false, 'tagline' => false,
'image' => false, 'image' => false,
'theme' => 'blue', 'theme' => 'blue',
'docs_path' => 'docs',
'date_modified' => true, 'date_modified' => true,
'float' => true, 'float' => true,
'repo' => false, 'repo' => false,