add rssAsSocialIcon param #128

This commit is contained in:
Dmitry Kolosov 2022-01-19 18:49:55 +03:00
parent 05206ec021
commit 47a0734cce
5 changed files with 19 additions and 1 deletions

View file

@ -84,6 +84,7 @@ params:
readMore: false
disableSummary: false
copyCodeButton: true # true by default
rssAsSocialIcon: true
# utteranc.es support
utterancesRepo: "" # mandatory
utterancesTheme: "" # optional
@ -203,6 +204,10 @@ Only works for production environment.
### Multilingual mode
Check config/example usage in [exampleSiteMultilingual](https://github.com/Mitrichius/hugo-theme-anubis/tree/master/exampleSiteMultilingual) directory and documentation on [Hugo site](https://gohugo.io/content-management/multilingual/).
### RSS
RSS is available by site url + /index.xml. Also available for specific language, section, taxonomy.
`rssAsSocialIcon` parameter enables rss sosial icon with link to site current language RSS.
### Robots.txt
Based on environment.
For production — allow all, for other — disallow all.