Add toggle option for RSS feed visibility ()

* add a "hide" value in config for atom

* Update footer to use param

* update header to use param

* Update docs to note configuration

* undo formatting

* use unless syntax

* unless syntax and indentation

* indentation
This commit is contained in:
Sean Killeen
2021-02-05 20:26:16 -05:00
committed by GitHub
parent 5fe4c4810d
commit 7bb68edf03
4 changed files with 17 additions and 3 deletions

@ -559,6 +559,15 @@ atom_feed:
**Note:** By default the site feed is linked in two locations: inside the [`<head>` element](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/head.html) and at the bottom of every page in the [site footer](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/footer.html).
{: .notice--info}
### Disable Feed Icons
By default the theme links to `feed.xml` generated in the root of your site by the **jekyll-feed** plugin. To remove the RSS icon in the header and footer, update `atom_feed` in `_config.yml` like so:
```yaml
atom_feed:
hide: true
```
### Site search
To enable site-wide search add `search: true` to your `_config.yml`.