From a324ba7b649840c16d365b757b19db2849991f11 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 30 Jun 2025 14:48:34 +0200 Subject: WIP --- .../conspiracy/layouts/_partials/breadcrumbs.html | 7 +++++++ themes/conspiracy/layouts/_partials/card.html | 17 ++++++++++++++++ themes/conspiracy/layouts/_partials/footer.html | 6 ++++++ themes/conspiracy/layouts/_partials/head.html | 10 ++++++++++ themes/conspiracy/layouts/_partials/header.html | 23 ++++++++++++++++++++++ 5 files changed, 63 insertions(+) create mode 100644 themes/conspiracy/layouts/_partials/breadcrumbs.html create mode 100644 themes/conspiracy/layouts/_partials/card.html create mode 100644 themes/conspiracy/layouts/_partials/footer.html create mode 100644 themes/conspiracy/layouts/_partials/head.html create mode 100644 themes/conspiracy/layouts/_partials/header.html (limited to 'themes/conspiracy/layouts/_partials') diff --git a/themes/conspiracy/layouts/_partials/breadcrumbs.html b/themes/conspiracy/layouts/_partials/breadcrumbs.html new file mode 100644 index 0000000..ff82e73 --- /dev/null +++ b/themes/conspiracy/layouts/_partials/breadcrumbs.html @@ -0,0 +1,7 @@ +{{/* https://github.com/adityatelange/hugo-PaperMod/blob/master/layouts/partials/breadcrumbs.html */}} + diff --git a/themes/conspiracy/layouts/_partials/card.html b/themes/conspiracy/layouts/_partials/card.html new file mode 100644 index 0000000..21eeebf --- /dev/null +++ b/themes/conspiracy/layouts/_partials/card.html @@ -0,0 +1,17 @@ +
+ {{- if .Title }}

{{ .Title }}

{{- end }} + {{- if and .Date (not (isset (index .Ancestors 0).Params "hide_date")) }}{{ .Date.Format "2006-01-02" }}{{- end }} + +
+ {{ .Summary | safeHTML }} + Read more +
+ + {{- if .Params.external_links }} + + {{- end }} +
diff --git a/themes/conspiracy/layouts/_partials/footer.html b/themes/conspiracy/layouts/_partials/footer.html new file mode 100644 index 0000000..adf7aee --- /dev/null +++ b/themes/conspiracy/layouts/_partials/footer.html @@ -0,0 +1,6 @@ + diff --git a/themes/conspiracy/layouts/_partials/head.html b/themes/conspiracy/layouts/_partials/head.html new file mode 100644 index 0000000..1196d00 --- /dev/null +++ b/themes/conspiracy/layouts/_partials/head.html @@ -0,0 +1,10 @@ + + + {{ if .IsHome }}{{ else }}{{ if .Title }}{{ .Title }} | {{ end }}{{ end }}{{ site.Title }} + + + + + {{- $stylesheet := resources.Get "css/style.css" | resources.ExecuteAsTemplate "style.css" . }} + + diff --git a/themes/conspiracy/layouts/_partials/header.html b/themes/conspiracy/layouts/_partials/header.html new file mode 100644 index 0000000..0b9ea44 --- /dev/null +++ b/themes/conspiracy/layouts/_partials/header.html @@ -0,0 +1,23 @@ + -- cgit