Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 638 Bytes
if (file.exists('~/.Rprofile')) sys.source('~/.Rprofile', envir = environment())
options(
servr.port = 4321L, blogdown.method = 'custom', blogdown.author = NULL,
digits = 4, formatR.indent = 2, blogdown.yaml.empty = FALSE, blogdown.rename_file = TRUE,
blogdown.title_case = function(x) {
# if the title is pure ASCII, use title case
if (xfun::is_ascii(x)) tools::toTitleCase(x) else x
},
blogdown.subdir_fun = function(x) {
if (xfun::is_ascii(x)) 'en' else getOption('blogdown.subdir')
},
blogdown.subdir = 'cn', blogdown.generator.server = TRUE,
blogdown.hugo.server = c('-D', '-F', '--navigateToChanged')
)