diff options
author | George Cushen <gcushen@users.noreply.github.com> | 2020-12-14 00:53:11 +0300 |
---|---|---|
committer | George Cushen <gcushen@users.noreply.github.com> | 2020-12-14 00:53:11 +0300 |
commit | 9ed74b5ba750499b086594a8de85856d44c2ee32 (patch) | |
tree | 7fa4eeedec17392e011f2291318eb36f18c7c63c /exampleSite | |
parent | 352ab2c390cc8a968609199e4dcca581fb9b8bbc (diff) |
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
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config/_default/config.toml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml index 5d5089e4..4ccecc1a 100644 --- a/exampleSite/config/_default/config.toml +++ b/exampleSite/config/_default/config.toml @@ -1,5 +1,5 @@ # Configuration of Hugo -# Guide: https://sourcethemes.com/academic/docs/get-started/ +# Guide: https://wowchemy.com/docs/get-started/ # Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings # # This file is formatted using TOML syntax - learn more at https://learnxinyminutes.com/docs/toml/ @@ -10,7 +10,7 @@ title = "Academic" # The URL of your site. # End your URL with a `/` trailing slash, e.g. `https://example.com/`. -baseurl = "/" +baseurl = "" # Enter a copyright notice to display in the site footer. # To display a copyright symbol, type `©`. For current year, type `{year}`. @@ -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] @@ -68,7 +68,7 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", " [imaging] resampleFilter = "lanczos" - quality = 90 + quality = 75 anchor = "smart" # Anchor for cropping. Options include Smart and Center. # Taxonomies. |