Add Subresource Integrity (SRI) support (#164)
This commit is contained in:
7
_includes/ext-css.html
Normal file
7
_includes/ext-css.html
Normal file
@ -0,0 +1,7 @@
|
||||
{% if include.css.sri %}
|
||||
<link href="{{ include.css.href }}" rel="stylesheet" integrity="{{ include.css.sri }}" crossorigin="anonymous">
|
||||
{% elsif include.css.href %}
|
||||
<link rel="stylesheet" href="{{ include.css.href }}" />
|
||||
{% else %}
|
||||
<link rel="stylesheet" href="{{ include.css }}" />
|
||||
{% endif %}
|
Reference in New Issue
Block a user