From 0fdd9ade5a25dc82fd5ee333d939783f865e17f9 Mon Sep 17 00:00:00 2001 From: sustained Date: Fri, 5 Jul 2019 19:33:13 +0100 Subject: [PATCH 1/4] Implement page-specific styles and scripts. --- _layouts/default.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/_layouts/default.html b/_layouts/default.html index 302f52fe1..6f4b3c8c8 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -35,12 +35,20 @@ + {% for style in page.styles %} + + {% endfor %} + + + {% for script in page.scripts %} + + {% endfor %} From 0d3580bc2e3f736330f5bd91105c1a427f26f7fd Mon Sep 17 00:00:00 2001 From: sustained Date: Fri, 5 Jul 2019 19:34:00 +0100 Subject: [PATCH 2/4] Fix typo. --- _layouts/default.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 6f4b3c8c8..27c157052 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -36,7 +36,7 @@ {% for style in page.styles %} - + {% endfor %} @@ -45,7 +45,7 @@ - + {% for script in page.scripts %} {% endfor %} From 4cb7446eb7b1344f1fa567ab05d51c1f884033df Mon Sep 17 00:00:00 2001 From: sustained Date: Fri, 5 Jul 2019 19:42:23 +0100 Subject: [PATCH 3/4] Exclude vendor to fix Jekyll issue. See this issue: https://github.com/jekyll/jekyll/issues/2938#issuecomment-56237068 --- _config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/_config.yml b/_config.yml index 4e68ec714..4906df76c 100644 --- a/_config.yml +++ b/_config.yml @@ -23,6 +23,7 @@ exclude: - /*.xcf - /Thumbs.db - /.unused + - /vendor plugins: - jekyll-paginate From 07ae024c83117fee0bf216b9143d82a08d0c9acd Mon Sep 17 00:00:00 2001 From: sustained Date: Fri, 5 Jul 2019 19:43:05 +0100 Subject: [PATCH 4/4] Ignore vendor directory. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index bb706de3a..2bc4d37d5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ _site/ Thumbs.db .jekyll-metadata Gemfile.lock +vendor/ \ No newline at end of file