summaryrefslogtreecommitdiff
path: root/themes/conspiracy/layouts/_default
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-12-30 16:38:02 +0100
committerjaseg <git@jaseg.de>2023-12-30 16:38:02 +0100
commit458a5fdfc598517b9fbddd02d3e1ae7cc70ceb9d (patch)
tree0ba3319ddb214bc65dd402de13939cb9ca283574 /themes/conspiracy/layouts/_default
parent9ee28abd5041ebbbc8acd39ddc84ca37e7255076 (diff)
parent58d54c5debedca8c91b28026f520b226ac8682f6 (diff)
downloadblog-458a5fdfc598517b9fbddd02d3e1ae7cc70ceb9d.tar.gz
blog-458a5fdfc598517b9fbddd02d3e1ae7cc70ceb9d.tar.bz2
blog-458a5fdfc598517b9fbddd02d3e1ae7cc70ceb9d.zip
deploy.py auto-commitdeploy
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 }}