Skip to content

Commit

Permalink
Merge pull request #44 from reconhub/stegen
Browse files Browse the repository at this point in the history
Stegen
  • Loading branch information
zkamvar authored Nov 9, 2018
2 parents d2113e3 + 9a4019d commit c61206c
Show file tree
Hide file tree
Showing 29 changed files with 7,204 additions and 5 deletions.
6 changes: 3 additions & 3 deletions R/render_new_rmds_to_md.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ render_new_rmds_to_md <- function(dir = "content/post",
if(build == "new"){
to_build <- unbuilt
}

pv <- rmarkdown::pandoc_version() >= package_version("2.0.0")
variant <- if(pv) "gfm" else "markdown_github"
# build only the ones to be built
if(length(to_build) > 0){

for (b in to_build) {
rmd <- b
rmarkdown::render(rmd,
rmarkdown::md_document(variant = "markdown_github",
rmarkdown::md_document(variant = variant,
preserve_yaml = TRUE ))
}
}else{
Expand Down
6 changes: 6 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ pygmentsCodeFences = true
weight = 99
pre = "<i class='far fa-align-justify'></i>"

[[menu.main]]
name = "Case Studies"
url = "/categories/case-studies.html"
weight = 99
pre = "<i class='far fa-align-justify'></i>"

[[menu.main]]
name = "Lectures"
url = "/categories/lectures.html"
Expand Down
Loading

0 comments on commit c61206c

Please sign in to comment.