Skip to content

@yihui yihui released this Nov 13, 2019 · 4 commits to master since this release

BUG FIXES

Assets 2

@yihui yihui released this Oct 1, 2019 · 11 commits to master since this release

MINOR CHANGES

  • Added tests for some utility functions (thanks, @novica, #405).
Assets 2

@yihui yihui released this Aug 21, 2019 · 16 commits to master since this release

BUG FIXES

Assets 2

@yihui yihui released this Jul 13, 2019 · 26 commits to master since this release

NEW FEATURES

  • new_site() and install_theme() will check the minimal Hugo version specified by the theme, and automatically update Hugo if the current installed version of Hugo is not sufficient (thanks, @apreshill, #391).
Assets 2

@yihui yihui released this Jun 11, 2019 · 30 commits to master since this release

NEW FEATURES

  • Added a global option blogdown.hugo.args, which should be a character vector with additional flags to be passed to the hugo system command via hugo_build(). For example, options(blogdown.hugo.args = '--minify') will use minification on the final rendered output. More available flags in the hugo documentation (thanks, @jozefhajnala, #382).
Assets 2

@yihui yihui released this May 1, 2019 · 33 commits to master since this release

MINOR CHANGES

  • When creating a post with a date in the future, a warning will be issued by default. To turn off this warning (if you are aware of the consequences of future dates), set options(blogdown.warn.future = FALSE) (thanks, @chucheria on Twitter, #377).
Assets 2

@yihui yihui released this Mar 12, 2019 · 39 commits to master since this release

NEW FEATURES

  • Added a global option blogdown.filename.pre_processor, which can be a function with a single argument (the post title) that returns a pre-processed string to be used to generate the post filename. For example, if you set options(blogdown.filename.pre_processor = function(x) stringi::stri_trans_general(x, "any-latin; nfd; [:nonspacing mark:] remove; nfc")), Cyrillic characters in a post title can be converted to ASCII, and the result string will be used for generating the post filename (thanks, @novica, #349).

MAJOR CHANGES

  • When previewing a blogdown website with Hugo on the RStudio Server, the Hugo configuration relativeURLs will be set to true automatically (thanks, @nwstephens, #124).

MINOR CHANGES

  • Added support to install the extended version of Hugo and enabled it as default via install_hugo(..., extended = TRUE) (thanks, @rgaiacs, #363).
Assets 2

@yihui yihui released this Jan 9, 2019 · 68 commits to master since this release

NEW FEATURES

  • The slug field in the "New Post" RStudio addin will no longer be automatically changed if the user has manually changed it once (thanks, @eliocamp, #347).

  • Added multilingual support in the "New post" RStudio addin (thanks, @novica #344, @Guilz #323).

  • You can create a new post as the index file of a Hugo page bundle via blogdown::new_post() or the RStudio addin "New Post" if you set options(blogdown.new_bundle = TRUE). One benefit of using a page bundle instead of a normal page is that you can put resource files associated with the post (such as images) under the same directory of the post itself. This means you no longer have to put them under the static/ directory, which has been quite confusing to Hugo beginners (thanks, @DavisVaughan @romainfrancois @apreshill, #351).

  • Added an argument empty_dirs to new_site() so that you can preserve the empty directories via blogdown::new_site(empty_dirs = TRUE). By default, empty directories will be deleted when a new site is created (thanks, @apreshill, rstudio-education/arm-workshop-rsc2019#8).

  • Added a global option blogdown.files_filter to allow users to decide which Rmd files to be rebuilt (this option can be set in .Rprofile). The default filter is blogdown:::timestamp_filter, i.e., only Rmd files which are older than their output files will be recompiled when rebuilding a site. You can set options(blogdown.files_filter = blogdown:::md5sum_filter) to use a different filter based on MD5 checksums, i.e., only rebuild an Rmd file if its MD5 checksum has changed. The checksums of Rmd files are saved in the file blogdown/md5sum.txt under the website root directory (thanks, @jonathan-g, #341).

MINOR CHANGES

  • The default value of the argument kind of new_post() has been changed from 'default' to '', which means this function will respect Hugo's default order of looking for the archetype. The Archetype dropdown menu of the RStudio addin "New Post" was changed accordingly, and this menu will also list archetypes in themes (thanks, David Daza, https://stackoverflow.com/questions/53309582/53341795#comment93989876_53341795).
Assets 2

@yihui yihui released this Oct 23, 2018 · 90 commits to master since this release

NEW FEATURES

  • Added an option in the "Update Metadata" addin to rename the post filename accordingly when the date is updated, e.g., when the date is changed from 2018-07-23 to 2018-07-28, the post file 2018-07-23-hello-world.md can be renamed to 2018-07-28-hello-world.md.
Assets 2

@yihui yihui released this Jul 15, 2018 · 112 commits to master since this release

BUG FIXES

  • A bug was introduced when implementing #305: should append draft: yes to YAML only when options(blogdown.draft.output = TRUE) is set (thanks, @ConorIA, #312).
Assets 2
You can’t perform that action at this time.