From 3bfaf76d19b42d08f3a3c639c1bf3f9a90abfef3 Mon Sep 17 00:00:00 2001
From: RayHammer
Date: Thu, 20 Oct 2022 03:12:32 +0200
Subject: Initial commit
---
themes/stingray/layouts/404.html | 0
themes/stingray/layouts/_default/baseof.html | 15 +++++++++++++++
themes/stingray/layouts/_default/list.html | 12 ++++++++++++
themes/stingray/layouts/_default/single.html | 0
themes/stingray/layouts/index.html | 11 +++++++++++
themes/stingray/layouts/partials/footer.html | 3 +++
themes/stingray/layouts/partials/head.html | 12 ++++++++++++
themes/stingray/layouts/partials/header.html | 0
themes/stingray/layouts/partials/metadata.html | 0
9 files changed, 53 insertions(+)
create mode 100644 themes/stingray/layouts/404.html
create mode 100644 themes/stingray/layouts/_default/baseof.html
create mode 100644 themes/stingray/layouts/_default/list.html
create mode 100644 themes/stingray/layouts/_default/single.html
create mode 100644 themes/stingray/layouts/index.html
create mode 100644 themes/stingray/layouts/partials/footer.html
create mode 100644 themes/stingray/layouts/partials/head.html
create mode 100644 themes/stingray/layouts/partials/header.html
create mode 100644 themes/stingray/layouts/partials/metadata.html
(limited to 'themes/stingray/layouts')
diff --git a/themes/stingray/layouts/404.html b/themes/stingray/layouts/404.html
new file mode 100644
index 0000000..e69de29
diff --git a/themes/stingray/layouts/_default/baseof.html b/themes/stingray/layouts/_default/baseof.html
new file mode 100644
index 0000000..a935536
--- /dev/null
+++ b/themes/stingray/layouts/_default/baseof.html
@@ -0,0 +1,15 @@
+
+
+ {{- partial "head.html" . -}}
+
+
+ {{- partial "header.html" . -}}
+
+
+ {{- block "main" . }}{{- end }}
+
+
+ {{- partial "footer.html" . -}}
+
+
+
diff --git a/themes/stingray/layouts/_default/list.html b/themes/stingray/layouts/_default/list.html
new file mode 100644
index 0000000..2a2cd11
--- /dev/null
+++ b/themes/stingray/layouts/_default/list.html
@@ -0,0 +1,12 @@
+{{ define "main" }}
+{{ .Title }}
+{{ range .Pages.ByPublishDate.Reverse }}
+
+
+ {{ partial "metadata.html" . }}
+
+ {{ .Summary }}
+
+
+{{ end }}
+{{ end }}
\ No newline at end of file
diff --git a/themes/stingray/layouts/_default/single.html b/themes/stingray/layouts/_default/single.html
new file mode 100644
index 0000000..e69de29
diff --git a/themes/stingray/layouts/index.html b/themes/stingray/layouts/index.html
new file mode 100644
index 0000000..4bc1983
--- /dev/null
+++ b/themes/stingray/layouts/index.html
@@ -0,0 +1,11 @@
+{{ define "main" }}
+
+
+
{{ .Site.Title }}
+ {{ .Description }}
+
+
+ {{ .Content }}
+
+
+{{ end }}
\ No newline at end of file
diff --git a/themes/stingray/layouts/partials/footer.html b/themes/stingray/layouts/partials/footer.html
new file mode 100644
index 0000000..5768ad1
--- /dev/null
+++ b/themes/stingray/layouts/partials/footer.html
@@ -0,0 +1,3 @@
+
+ (c) 2022 RayHammer
+
\ No newline at end of file
diff --git a/themes/stingray/layouts/partials/head.html b/themes/stingray/layouts/partials/head.html
new file mode 100644
index 0000000..4a0ff2d
--- /dev/null
+++ b/themes/stingray/layouts/partials/head.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ {{ $title := print .Site.Title " | " .Title }}
+ {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
+ {{ $title }}
+
+
+
\ No newline at end of file
diff --git a/themes/stingray/layouts/partials/header.html b/themes/stingray/layouts/partials/header.html
new file mode 100644
index 0000000..e69de29
diff --git a/themes/stingray/layouts/partials/metadata.html b/themes/stingray/layouts/partials/metadata.html
new file mode 100644
index 0000000..e69de29
--
cgit v1.2.3