summaryrefslogtreecommitdiff
path: root/themes/conspiracy/layouts/partials
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-03-19 00:54:56 +0100
committerjaseg <git@jaseg.de>2023-03-19 00:54:56 +0100
commit490ca12809a2625549aae16311affdd546e9c201 (patch)
tree58024389e48d91731efa352ae772a058b376b8cf /themes/conspiracy/layouts/partials
parent92e3b5f49f6f5336530988e7839ab3ed283b86e4 (diff)
parentf21dea91904d7bf9628457a5758016c9a0df6d38 (diff)
downloadblog-490ca12809a2625549aae16311affdd546e9c201.tar.gz
blog-490ca12809a2625549aae16311affdd546e9c201.tar.bz2
blog-490ca12809a2625549aae16311affdd546e9c201.zip
deploy.py auto-commit
Diffstat (limited to 'themes/conspiracy/layouts/partials')
-rw-r--r--themes/conspiracy/layouts/partials/breadcrumbs.html7
-rw-r--r--themes/conspiracy/layouts/partials/card.html17
-rw-r--r--themes/conspiracy/layouts/partials/footer.html6
-rw-r--r--themes/conspiracy/layouts/partials/head.html10
-rw-r--r--themes/conspiracy/layouts/partials/header.html17
5 files changed, 0 insertions, 57 deletions
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 167a9d5..0000000
--- a/themes/conspiracy/layouts/partials/card.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<div class="card">
- {{- if .Title }}<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>{{- end }}
- {{- if .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 }}">{{ .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 6071d43..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 | absURL }}">{{ .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 675f899..0000000
--- a/themes/conspiracy/layouts/partials/header.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<nav>
- {{- $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 }}
- <span class="spacer"></span>
- {{- range site.Params.profile_links }}
- <a href="{{ .url | absURL }}" title="{{ .name }}">{{ .name }}</a>
- {{- end }}
-</nav>