diff --git a/template/layout.jet.html b/template/layout.jet.html
index 1525b46..6050446 100644
--- a/template/layout.jet.html
+++ b/template/layout.jet.html
@@ -19,23 +19,21 @@
+
+
{{ if isset(PageType) }}
{{ if PageType == "artwork" }}
{{ if Illust.XRestrict }}
- {{ else if Illust.SanityLevel == 6 }}
-
{{ else }}
-
+
+
{{ end }}
{{ else if PageType == "user" }}
-
- {{ else }}
-
{{ end }}
{{ else }}