diff options
author | jaseg <git@jaseg.de> | 2023-12-30 16:38:02 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-12-30 16:38:02 +0100 |
commit | 458a5fdfc598517b9fbddd02d3e1ae7cc70ceb9d (patch) | |
tree | 0ba3319ddb214bc65dd402de13939cb9ca283574 /themes/conspiracy/layouts/_default | |
parent | 9ee28abd5041ebbbc8acd39ddc84ca37e7255076 (diff) | |
parent | 58d54c5debedca8c91b28026f520b226ac8682f6 (diff) | |
download | blog-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.html | 22 | ||||
-rw-r--r-- | themes/conspiracy/layouts/_default/list.html | 18 | ||||
-rw-r--r-- | themes/conspiracy/layouts/_default/single.html | 23 |
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 }} |