diff --git a/.gitignore b/.gitignore
index b635ce0..1841a5c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
public/
public_*/
+hint-report/
diff --git a/.hintrc b/.hintrc
new file mode 100644
index 0000000..bb01eb8
--- /dev/null
+++ b/.hintrc
@@ -0,0 +1,43 @@
+{
+ "extends": [
+ "web-recommended"
+ ],
+ "connector": {
+ "name": "puppeteer",
+ "options": {
+ "browser": "Chromium",
+ "headless": false
+ }
+ },
+ "browserslist": [
+ ">.01%, last 2 versions, not dead"
+ ],
+ "hints": {
+ "axe/other": "error",
+ "https-only": "error",
+ "doctype": "error",
+ "no-broken-links": "error",
+ "performance-budget": "error",
+ "compat-api/css": "error",
+ "compat-api/html": [
+ "error",
+ {
+ "ignore": [
+ "time",
+ "picture"
+ ]
+ }
+ ],
+ "http-compression": [
+ "warning",
+ {
+ "html": {
+ "brotli": false
+ },
+ "resource": {
+ "brotli": false
+ }
+ }
+ ]
+ }
+}
diff --git a/themes/etch-custom/layouts/partials/head.html b/themes/etch-custom/layouts/partials/head.html
index 4df4810..b858ab6 100644
--- a/themes/etch-custom/layouts/partials/head.html
+++ b/themes/etch-custom/layouts/partials/head.html
@@ -17,10 +17,11 @@
{{ if not (eq $dark "off") -}}
{{ $resources = $resources | append (resources.Get "css/dark.css" | resources.ExecuteAsTemplate "dark.css" .) -}}
{{ end -}}
- {{ $css := $resources | resources.Concat "css/style.css" | minify }}
- {{ printf `` $css.RelPermalink | safeHTML }}
+ {{ $css := $resources | resources.Concat "css/style.css" | minify | resources.Fingerprint "sha384" -}}
+ {{ printf `` $css.RelPermalink $css.Data.Integrity | safeHTML }}
{{ if .Params.highlight -}}
- {{ printf `` | safeHTML }}
+ {{ $css_syntax := resources.Get "/css/syntax.css" | minify | resources.Fingerprint "sha384" }}
+ {{- printf `` $css_syntax.RelPermalink $css_syntax.Data.Integrity | safeHTML }}
{{ end -}}
{{ if eq .RelPermalink "/" -}}