Skip to content

blogdown 1.7

Compare
Choose a tag to compare
@yihui yihui released this 19 Dec 04:48
· 140 commits to main since this release

MINOR CHANGES

  • The version argument of find_hugo() allows for the prefix v in the version number now, e.g., find_hugo('v0.89.2') is equivalent to find_hugo('0.89.2'). This is also true to other functions that use find_hugo(), such as remove_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 Hugo v0.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 shortcode layouts/shortcodes/blogdown/postref.html) to HUGO_BLOGDOWN_POST_RELREF (thanks, @Nitheshnirmal #672, @gergiu #673).