diff --git a/Makefile b/Makefile index 20ab3f4..65fb6fc 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,8 @@ test_local : ## update_site : Build the GitHub pages site update_site : - rsync -a --exclude='.git/' --exclude='.gitignore' ../workshops/ ../${site_repo}/ + rsync -a --exclude='.git/' --exclude='.gitignore' \ + --exclude='lessons/rplotting/' ../workshops/ ../${site_repo}/ ./knitpost.R ## clean_dir : Clean up left over files from updated website diff --git a/knitpost.R b/knitpost.R index 29bb7af..f8e5dc5 100755 --- a/knitpost.R +++ b/knitpost.R @@ -14,7 +14,6 @@ KnitPost <- function(input, outfile, base.url = '/') { knitr::opts_knit$set(base.url = base.url) knitr::opts_chunk$set(fig.path = '/lessons/images/', collapse = TRUE) - knitr::render_jekyll() knitr::knit(input, outfile, envir = parent.frame()) txt <- sub('^published: false', 'published: true', readLines(outfile))