Skip to content

Commit

Permalink
enforce SRI
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter committed Apr 10, 2018
1 parent bcf89a4 commit 37e2206
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{% seo %}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
</head>
<body>
Expand Down
1 change: 1 addition & 0 deletions _sass/jekyll-theme-cayman.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import "normalize";
@import "rouge-github";
@import "variables";
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');

@mixin large {
@media screen and (min-width: #{$large-breakpoint}) {
Expand Down
2 changes: 1 addition & 1 deletion script/cibuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

bundle exec jekyll build
bundle exec htmlproofer ./_site --check-html --disable-external
bundle exec htmlproofer ./_site --check-html --check-sri --disable-external
bundle exec rubocop -D
bundle exec script/validate-html
gem build jekyll-theme-cayman.gemspec

0 comments on commit 37e2206

Please sign in to comment.