diff --git a/assets/warning-css.html b/assets/warning-css.html
new file mode 100644
index 0000000000..50f3b10f82
--- /dev/null
+++ b/assets/warning-css.html
@@ -0,0 +1,27 @@
+
\ No newline at end of file
diff --git a/netlify.toml b/netlify.toml
index 6e3beff1a6..76794dd920 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -11,6 +11,9 @@
--force-warn renamed-and-removed-lints \
--cfg docsrs \
--cfg tracing_unstable
+ --html-before-content /opt/build/repo/assets/warning.html \
+ --html-in-header /opt/build/repo/assets/noindex.html \
+ --html-in-header /opt/build/repo/assets/warning-css.html \
"""
RUSTFLAGS="--cfg tracing_unstable"