summaryrefslogtreecommitdiff
path: root/themes/conspiracy/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'themes/conspiracy/layouts/_default')
-rw-r--r--themes/conspiracy/layouts/_default/baseof.html22
-rw-r--r--themes/conspiracy/layouts/_default/list.html18
-rw-r--r--themes/conspiracy/layouts/_default/single.html23
3 files changed, 0 insertions, 63 deletions
diff --git a/themes/conspiracy/layouts/_default/baseof.html b/themes/conspiracy/layouts/_default/baseof.html
deleted file mode 100644
index 9557f19..0000000
--- a/themes/conspiracy/layouts/_default/baseof.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!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>
diff --git a/themes/conspiracy/layouts/_default/list.html b/themes/conspiracy/layouts/_default/list.html
deleted file mode 100644
index 02703b4..0000000
--- a/themes/conspiracy/layouts/_default/list.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{{- define "main" }}
- {{- if not .IsHome | and .Title }}
- <header>
- <h1>{{ .Title }}</h1>
- {{- partial "breadcrumbs.html" . }}
- </header>
- {{- end }}
- <main class="cards">
- {{- if .Content }}
- <div class="intro">
- {{ .Content }}
- </div>
- {{- end }}
- {{- range .Pages }}
- {{ partial "card.html" . }}
- {{- end }}
- </main>
-{{- end }}
diff --git a/themes/conspiracy/layouts/_default/single.html b/themes/conspiracy/layouts/_default/single.html
deleted file mode 100644
index c7135f8..0000000
--- a/themes/conspiracy/layouts/_default/single.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{{- define "main" }}
- {{- if not .IsHome | and .Title }}
- <header>
- <h1>{{ .Title }}</h1>
- {{- partial "breadcrumbs.html" . }}
- {{- if .Params.Date }} <strong>{{ .Date.Format "2006-01-02" }}</strong>{{- end }}
- </header>
- {{- end }}
- {{- if .Params.noindex }}
- <main>
- {{- else }}
- <main data-pagefind-body>
- {{- end }}
- {{- if .Params.external_links }}
- <div class="links">
- {{- range .Params.external_links }}
- <a href="{{ .url | absURL }}">{{ .name }}</a>
- {{- end }}
- </div>
- {{- end }}
- {{ .Content }}
- </main>
-{{- end }}