diff --git a/site/layouts/partials/scripts.html b/site/layouts/partials/scripts.html
index e2f9bc407e..4b909e0e48 100644
--- a/site/layouts/partials/scripts.html
+++ b/site/layouts/partials/scripts.html
@@ -4,7 +4,7 @@
{{- end }}
-{{ if eq .Page.Layout "docs" -}}
+{{ if (or (eq .Page.Layout "docs") (eq .Page.Layout "single")) -}}
{{- end }}
diff --git a/site/layouts/partials/stylesheet.html b/site/layouts/partials/stylesheet.html
index 749a3314e6..d6d95ae6bf 100644
--- a/site/layouts/partials/stylesheet.html
+++ b/site/layouts/partials/stylesheet.html
@@ -5,12 +5,10 @@
{{- end }}
-{{ if (or (eq .Page.Layout "docs") (ne .Page.Layout "examples")) -}}
+{{ if (or (eq .Page.Layout "docs") (eq .Page.Layout "single")) -}}
{{- "" | safeHTML }}
-{{ if eq .Page.Layout "docs" -}}
{{- end -}}
{{- if (ne .Page.Layout "examples") }}
-{{- end -}}
{{- end }}