summaryrefslogtreecommitdiff
path: root/themes/conspiracy/layouts/baseof.html
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2025-06-30 14:48:34 +0200
committerjaseg <git@jaseg.de>2025-06-30 14:48:34 +0200
commita324ba7b649840c16d365b757b19db2849991f11 (patch)
treea9cd16a30404f22a6094b0fe664d392af1cf2ad0 /themes/conspiracy/layouts/baseof.html
parentbce789de7b4ab2d0d2c58e14b8e221ed5817c09d (diff)
downloadblog-a324ba7b649840c16d365b757b19db2849991f11.tar.gz
blog-a324ba7b649840c16d365b757b19db2849991f11.tar.bz2
blog-a324ba7b649840c16d365b757b19db2849991f11.zip
WIP
Diffstat (limited to 'themes/conspiracy/layouts/baseof.html')
-rw-r--r--themes/conspiracy/layouts/baseof.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/themes/conspiracy/layouts/baseof.html b/themes/conspiracy/layouts/baseof.html
new file mode 100644
index 0000000..9557f19
--- /dev/null
+++ b/themes/conspiracy/layouts/baseof.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+ {{- partial "head.html" . -}}
+ <body>
+ {{- partial "header.html" . -}}
+ {{- block "main" . }}{{- end }}
+ {{- partial "footer.html" . -}}
+ <script src="/pagefind/pagefind-ui.js"></script>
+ <script>
+ if(navigator.getEnvironmentIntegrity!==undefined)document.querySelector('body').innerHTML=`<h1>Your browser
+ contains Google DRM</h1>"Web Environment Integrity" is a Google euphemism for a DRM that is designed to
+ prevent ad-blocking, and which Google has forced into their browsers against widespread public opposition.
+ In support of an open web, this website does not function with this DRM. Please install a browser such
+ as <a href="https://www.mozilla.org/en-US/firefox/new/">Firefox</a> that respects your freedom and supports
+ ad blockers.`;
+
+ window.addEventListener('DOMContentLoaded', (event) => {
+ new PagefindUI({element: "#search", showSubResults: true});
+ });
+ </script>
+ </body>
+</html>