mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 04:56:23 +05:30
RSS Description config option added
Gives the admin the config option to choose to replace the RSS description value with Meta Description instead of Body (default is the current setting of body, if nothing is selected defaults to body).
This commit is contained in:
parent
651027b0ea
commit
32388b2a37
4 changed files with 38 additions and 7 deletions
|
|
@ -27,7 +27,7 @@
|
|||
</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="-config-static.frontpage" id="static.frontpage1" value="true" <?php if (config('static.frontpage') === 'true'):?>checked<?php endif;?>>
|
||||
<input class="form-check-input" type="radio" name="-config-static.frontpage" id="static.frontpage2" value="true" <?php if (config('static.frontpage') === 'true'):?>checked<?php endif;?>>
|
||||
<label class="form-check-label" for="static.frontpage2">
|
||||
<?php echo i18n('Static_page');?>
|
||||
</label>
|
||||
|
|
@ -134,6 +134,25 @@
|
|||
<br>
|
||||
<h4><?php echo i18n('RSS_settings');?></h4>
|
||||
<hr>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label"><?php echo i18n('RSS_feeds_description_select');?></label>
|
||||
<div class="col-sm-10">
|
||||
<div class="col-sm-10">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="-config-rss.description" id="rss.description1" value="body" <?php if (config('rss.description') === 'body'):?>checked<?php endif;?>>
|
||||
<label class="form-check-label" for="rss.description1">
|
||||
<?php echo i18n('RSS_description_body');?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="-config-rss.description" id="rss.description2" value="meta" <?php if (config('rss.description') === 'meta'):?>checked<?php endif;?>>
|
||||
<label class="form-check-label" for="rss.description2">
|
||||
<?php echo i18n('RSS_description_meta');?>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="rss.count" class="col-sm-2 col-form-label"><?php echo i18n('RSS_feeds_show_the_most_recent');?></label>
|
||||
<div class="col-sm-10">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue