From 8748a80b4c07fe7932d3abbcc40eacf65bf8bc29 Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Thu, 14 Jul 2016 10:28:36 -0400 Subject: [PATCH] Switching to GitHub-defined variables --- Makefile | 5 ++--- _config_dev.yml | 9 --------- _includes/all_keypoints.html | 2 +- _includes/carpentries.html | 4 ++-- _includes/episode_title.html | 10 +++++----- _includes/javascript.html | 15 +++------------ _includes/lesson_footer.html | 4 ++-- _includes/main_title.html | 2 +- _includes/navbar.html | 37 ++++++++++++++---------------------- _includes/syllabus.html | 2 +- _layouts/base.html | 17 ++++------------- _layouts/workshop.html | 15 +++------------ 12 files changed, 38 insertions(+), 84 deletions(-) delete mode 100644 _config_dev.yml diff --git a/Makefile b/Makefile index 3b51c39..0f395a3 100644 --- a/Makefile +++ b/Makefile @@ -17,17 +17,16 @@ commands : ## serve : run a local server. serve : lesson-rmd - ${JEKYLL} serve --config _config.yml,_config_dev.yml + ${JEKYLL} serve ## site : build files but do not run a server. site : lesson-rmd - ${JEKYLL} build --config _config.yml,_config_dev.yml + ${JEKYLL} build # repo-check : check repository settings. repo-check : @bin/repo_check.py -s . - ## clean : clean up junk files. clean : @rm -rf ${DST} diff --git a/_config_dev.yml b/_config_dev.yml deleted file mode 100644 index ad2653b..0000000 --- a/_config_dev.yml +++ /dev/null @@ -1,9 +0,0 @@ -#------------------------------------------------------------ -# This config file is only needed for development. Instead of changing -# the URL everytime you work locally on the project, run a server with -# both configuration files: -# -# jekyll serve --config _config.yml,_config_dev.yml -#------------------------------------------------------------ - -root: http://localhost:4000 diff --git a/_includes/all_keypoints.html b/_includes/all_keypoints.html index 898133a..e2c901c 100644 --- a/_includes/all_keypoints.html +++ b/_includes/all_keypoints.html @@ -7,7 +7,7 @@ {% unless episode.break %} - {{ episode.title }} + {{ episode.title }}