Update config

This commit is contained in:
danpros 2021-02-21 16:42:10 +07:00
commit 1dd825ec11
2 changed files with 25 additions and 0 deletions

View file

@ -45,6 +45,12 @@ if (file_exists($config_file)) {
<input type="number" name="-config-description.char" class="form-control" id="description.char" value="<?php echo config('description.char');?>">
</div>
</div>
<div class="form-group row">
<label for="read.more" class="col-sm-2 col-form-label">Breadcrumb home text</label>
<div class="col-sm-10">
<input type="text" name="-config-breadcrumb.home" class="form-control" id="breadcrumb.home" value="<?php echo valueMaker(config('breadcrumb.home'));?>" placeholder="Home">
</div>
</div>
<br>
<h4>Sitemap</h4>
<hr>

View file

@ -32,6 +32,25 @@
</div>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Enable /blog URL</label>
<div class="col-sm-10">
<div class="col-sm-10">
<div class="form-check">
<input class="form-check-input" type="radio" name="-config-blog.enable" id="blog.enable1" value="true" <?php if (config('blog.enable') === 'true'):?>checked<?php endif;?>>
<label class="form-check-label" for="blog.enable1">
Enable
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="-config-blog.enable" id="blog.enable2" value="false" <?php if (config('blog.enable') === 'false'):?>checked<?php endif;?>>
<label class="form-check-label" for="blog.enable2">
Disable
</label>
</div>
</div>
</div>
</div>
<div class="form-group row">
<label for="posts.perpage" class="col-sm-2 col-form-label">Posts in front page show at most</label>
<div class="col-sm-10">