feat: remove "_files$" from Hugo's default ignoreFiles

For blogdown projects, this means that any figures produced by knitting any .Rmd or .Rmarkdown files will be ignored by the Hugo build. To make them appear in a deployed site, blogdown users will need to remove this item from ignoreFiles in their configuration file.

See https://github.com/wowchemy/wowchemy-hugo-modules/discussions/2031#discussion-61686
This commit is contained in:
George Cushen 2020-12-13 21:53:11 +00:00
parent 352ab2c390
commit 9ed74b5ba7
2 changed files with 5 additions and 5 deletions

View file

@ -34,7 +34,7 @@ paginate = 10 # Number of items per page in paginated lists.
enableEmoji = true
enableRobotsTXT = true
footnotereturnlinkcontents = "<sup>^</sup>"
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_cache$"]
# Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic.
[permalinks]