blogdown 1.7
MINOR CHANGES
-
The
version
argument offind_hugo()
allows for the prefixv
in the version number now, e.g.,find_hugo('v0.89.2')
is equivalent tofind_hugo('0.89.2')
. This is also true to other functions that usefind_hugo()
, such asremove_hugo()
. -
Clarified
write_toml()
's error message that Hugo >= 0.37 is required to run this function (thanks, @pssguy, #665).
BUG FIXES
-
install_hugo()
did not work for Hugov0.20.3
. -
new_post()
failed to correctly detect the path of the new post with Hugo >= 0.89.3 (thanks, @rcarboni, #667). -
Deal with the new security policy in Hugo 0.91.0 by renaming the internal environment variable
BLOGDOWN_POST_RELREF
(in the shortcodelayouts/shortcodes/blogdown/postref.html
) toHUGO_BLOGDOWN_POST_RELREF
(thanks, @Nitheshnirmal #672, @gergiu #673).