diff options
author | jaseg <git@jaseg.de> | 2023-10-14 13:03:20 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-10-14 13:03:20 +0200 |
commit | d3129f384f2a7313d7d2259b09c4d46661597ed7 (patch) | |
tree | 030c1e62fe05d93ae95b678b9546d95de7d70da8 /themes/conspiracy/layouts | |
parent | 2cdeee2a3c728a42dc1b9fe9d6892ea647402e1c (diff) | |
parent | 74d7f5c965c55be28ea6da0e0e33f7f0fd5478f9 (diff) | |
download | blog-d3129f384f2a7313d7d2259b09c4d46661597ed7.tar.gz blog-d3129f384f2a7313d7d2259b09c4d46661597ed7.tar.bz2 blog-d3129f384f2a7313d7d2259b09c4d46661597ed7.zip |
deploy.py auto-commit
Diffstat (limited to 'themes/conspiracy/layouts')
-rw-r--r-- | themes/conspiracy/layouts/404.html | 0 | ||||
-rw-r--r-- | themes/conspiracy/layouts/_default/baseof.html | 17 | ||||
-rw-r--r-- | themes/conspiracy/layouts/_default/list.html | 18 | ||||
-rw-r--r-- | themes/conspiracy/layouts/_default/single.html | 19 | ||||
-rw-r--r-- | themes/conspiracy/layouts/index.html | 25 | ||||
-rw-r--r-- | themes/conspiracy/layouts/partials/breadcrumbs.html | 7 | ||||
-rw-r--r-- | themes/conspiracy/layouts/partials/card.html | 17 | ||||
-rw-r--r-- | themes/conspiracy/layouts/partials/footer.html | 6 | ||||
-rw-r--r-- | themes/conspiracy/layouts/partials/head.html | 10 | ||||
-rw-r--r-- | themes/conspiracy/layouts/partials/header.html | 20 |
10 files changed, 0 insertions, 139 deletions
diff --git a/themes/conspiracy/layouts/404.html b/themes/conspiracy/layouts/404.html deleted file mode 100644 index e69de29..0000000 --- a/themes/conspiracy/layouts/404.html +++ /dev/null diff --git a/themes/conspiracy/layouts/_default/baseof.html b/themes/conspiracy/layouts/_default/baseof.html deleted file mode 100644 index eb163b6..0000000 --- a/themes/conspiracy/layouts/_default/baseof.html +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html> -<html> - {{- partial "head.html" . -}} - <body> - {{- partial "header.html" . -}} - {{- block "main" . }}{{- end }} - {{- partial "footer.html" . -}} - <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.`; - </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 231daf7..0000000 --- a/themes/conspiracy/layouts/_default/single.html +++ /dev/null @@ -1,19 +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 }} - <main> - {{- if .Params.external_links }} - <div class="links"> - {{- range .Params.external_links }} - <a href="{{ .url | absURL }}">{{ .name }}</a> - {{- end }} - </div> - {{- end }} - {{ .Content }} - </main> -{{- end }} diff --git a/themes/conspiracy/layouts/index.html b/themes/conspiracy/layouts/index.html deleted file mode 100644 index 808ddc8..0000000 --- a/themes/conspiracy/layouts/index.html +++ /dev/null @@ -1,25 +0,0 @@ -{{- define "main" }} - <header> - <h1>{{ .Title }}</h1> - </header> - <main class="cards"> - {{- if .Content }} - <div class="intro"> - {{ .Content }} - </div> - {{- end }} - - {{- range $config := site.Params.homepage_categories }} - <h2>{{ .title }}</h2> - {{- range $entry := first $config.count (where site.RegularPages "Section" "==" $config.key) }} - {{ partial "card.html" $entry }} - {{- end }} - - <div class="pagination-links"> - {{- with site.GetPage (printf "/%s" .key) }} - <a href="{{ .RelPermalink }}">See more<span class="arrow-right"></span></a> - {{- end }} - </div> - {{- end }} - </main> -{{- end }} diff --git a/themes/conspiracy/layouts/partials/breadcrumbs.html b/themes/conspiracy/layouts/partials/breadcrumbs.html deleted file mode 100644 index ff82e73..0000000 --- a/themes/conspiracy/layouts/partials/breadcrumbs.html +++ /dev/null @@ -1,7 +0,0 @@ -{{/* https://github.com/adityatelange/hugo-PaperMod/blob/master/layouts/partials/breadcrumbs.html */}} -<ul class="breadcrumbs"> - {{- range .Ancestors.Reverse }} - <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> - {{- end -}} - <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> -</ul> diff --git a/themes/conspiracy/layouts/partials/card.html b/themes/conspiracy/layouts/partials/card.html deleted file mode 100644 index 21eeebf..0000000 --- a/themes/conspiracy/layouts/partials/card.html +++ /dev/null @@ -1,17 +0,0 @@ -<div class="card"> - {{- if .Title }}<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>{{- end }} - {{- if and .Date (not (isset (index .Ancestors 0).Params "hide_date")) }}<strong>{{ .Date.Format "2006-01-02" }}</strong>{{- end }} - - <div class="summary"> - {{ .Summary | safeHTML }} - <a href="{{ .Permalink }}">Read more</a> - </div> - - {{- if .Params.external_links }} - <div class="links"> - {{- range .Params.external_links }} - <a href="{{ .url | absURL }}">{{ .name }}</a> - {{- end }} - </div> - {{- end }} -</div> diff --git a/themes/conspiracy/layouts/partials/footer.html b/themes/conspiracy/layouts/partials/footer.html deleted file mode 100644 index adf7aee..0000000 --- a/themes/conspiracy/layouts/partials/footer.html +++ /dev/null @@ -1,6 +0,0 @@ -<footer> - Copyright © {{ now.Year }} {{ site.Copyright }} - {{- range site.Params.footer_links }} - / <a href="{{.url | relURL }}">{{ .name }}</a> - {{- end }} -</footer> diff --git a/themes/conspiracy/layouts/partials/head.html b/themes/conspiracy/layouts/partials/head.html deleted file mode 100644 index 1196d00..0000000 --- a/themes/conspiracy/layouts/partials/head.html +++ /dev/null @@ -1,10 +0,0 @@ -<head> - <meta charset="utf-8"> - <title>{{ if .IsHome }}{{ else }}{{ if .Title }}{{ .Title }} | {{ end }}{{ end }}{{ site.Title }}</title> - <meta name="description" content=""> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta name="mobile-web-app-capable" content="yes"> - <meta name="color-scheme" content="dark light"> - {{- $stylesheet := resources.Get "css/style.css" | resources.ExecuteAsTemplate "style.css" . }} - <link rel="stylesheet" href="{{ $stylesheet.RelPermalink }}"> -</head> diff --git a/themes/conspiracy/layouts/partials/header.html b/themes/conspiracy/layouts/partials/header.html deleted file mode 100644 index e252f1f..0000000 --- a/themes/conspiracy/layouts/partials/header.html +++ /dev/null @@ -1,20 +0,0 @@ -<nav> - <div class="internal"> - {{- $currentPage := . }} - <!-- todo: put this in a "pages" drop down on mobile --> - {{- range site.Menus.main }} - {{- $menu_item_url := .URL | absURL }} - {{- $page_url:= $currentPage.Permalink | absURL }} - <a href="{{ .URL }}" title="{{ .Title | default .Name }}" {{- if eq $menu_item_url $page_url }} class="active" {{- end }}> - {{- .Pre }} - {{- .Name -}} - {{ .Post -}} - </a> - {{- end }} - </div> - <div class="external"> - {{- range site.Params.profile_links }} - <a href="{{ .url | absURL }}" title="{{ .name }}">{{ .name }}</a> - {{- end }} - </span> -</nav> |