diff --git a/Gemfile b/Gemfile index 1facff24..648f4741 100644 --- a/Gemfile +++ b/Gemfile @@ -6,3 +6,4 @@ versions = JSON.parse(open('https://pages.github.com/versions.json').read) gem 'github-pages', group: :jekyll_plugins gem 'html-proofer' +gem 'jekyll-include-cache' \ No newline at end of file diff --git a/_config.yml b/_config.yml index 3975adfc..01a914a6 100644 --- a/_config.yml +++ b/_config.yml @@ -43,3 +43,10 @@ exclude: - vendor/ruby/ - _projects/_template.md - _projects/README.md +plugins: + - jekyll-include-cache + +# Security Headers (Content Security Policy) +webrick: + headers: + Content-Security-Policy: default-src 'none'; script-src 'self'; connect-src 'self'; img-src 'self'; style-src 'self'; \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index ffe6962c..57a10cf8 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -18,10 +18,10 @@ - {% include style.html %} + {% include_cached style.html %} - + - - - + + + +