rstudio / blogdown

Create Blogs and Websites with R Markdown
https://pkgs.rstudio.com/blogdown/
1.73k stars 335 forks source link

Current HUGO version creates bug in Academic; updating would fix it #440

Closed pablobernabeu closed 4 years ago

pablobernabeu commented 4 years ago

By filing an issue to this repo, I promise that

Hello,

I would like to ask if the HUGO installation (provided via install_hugo()), could be updated, please. The reason is that the current version has a bug causing a modal window (i.e., the one displaying bibliographic references) to not work properly. It doesn't retrieve the reference from a file.

Further background available.

Thank you very much

cderv commented 4 years ago

By default, install_hugo() will install the latest version of HUGO. Did you notice that ? It is mentioned in the documentation

By default, it installs the latest version of Hugo, but you can choose a specific version through the version argument if you prefer.

If you have already install a version, you can update. blogdown has a helper function to update called udpate_hugo()

See ?blogdown::install_hugo() for help file this.

blogdown can work with any hugo version you have. You just need to update to the one you need.

Is this helping or did I missed something ?

pablobernabeu commented 4 years ago

Thank you very much. I've just now found that the modal window is working once the site is deployed, whereas it doesn't when it is launched locally from RStudio (even when displaying it on the browser).

Absolutely solved, therefore. :) Thank you!