From 73f0c2145328be97404d31070084e9c7c652a7cf Mon Sep 17 00:00:00 2001 From: edi Date: Fri, 26 Jan 2024 22:36:23 +0100 Subject: [PATCH] neu --- archetypes/.gitignore | 0 archetypes/default.md | 2 + layouts/.gitignore | 0 layouts/404.html | 21 +++++ layouts/_default/.gitignore | 0 layouts/_default/baseof.html | 11 +++ layouts/_default/list.html | 26 ++++++ layouts/_default/single.html | 21 +++++ layouts/index.html | 21 +++++ layouts/partials/.gitignore | 0 layouts/partials/foot.html | 3 + layouts/partials/footer.html | 1 + layouts/partials/head.html | 10 +++ layouts/partials/header.html | 12 +++ layouts/partials/navigation.html | 44 ++++++++++ layouts/partials/style.html | 144 +++++++++++++++++++++++++++++++ static/.gitignore | 0 static/bg.jpg | Bin 0 -> 331028 bytes theme.toml | 21 +++++ 19 files changed, 337 insertions(+) create mode 100644 archetypes/.gitignore create mode 100644 archetypes/default.md create mode 100644 layouts/.gitignore create mode 100644 layouts/404.html create mode 100644 layouts/_default/.gitignore create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/index.html create mode 100644 layouts/partials/.gitignore create mode 100644 layouts/partials/foot.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/navigation.html create mode 100644 layouts/partials/style.html create mode 100644 static/.gitignore create mode 100644 static/bg.jpg create mode 100644 theme.toml diff --git a/archetypes/.gitignore b/archetypes/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..ac36e06 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/layouts/.gitignore b/layouts/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..60a6c3c --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,21 @@ + +{{ partial "header.html" . }} + + +{{ partial "head.html" . }} + + +{{ partial "navigation.html" . }} + +
+

{{ .Title }}

+

+ Diese Seite wurde leider nicht gefunden. +

+
+ + +{{ partial "foot.html" . }} + + +{{ partial "footer.html" . }} diff --git a/layouts/_default/.gitignore b/layouts/_default/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..5f8e2ec --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..fa56736 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,26 @@ + +{{ partial "header.html" . }} + + +{{ partial "head.html" . }} + + +{{ partial "navigation.html" . }} + + +{{ range (where .Data.Pages.ByLastmod.Reverse "Section" "!=" "") }} +
+

{{ .Title }}

+

+ {{ .Content }} +

+ +
+{{ end }} + + + +{{ partial "foot.html" . }} + + +{{ partial "footer.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..0d46dbb --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,21 @@ + +{{ partial "header.html" . }} + + +{{ partial "head.html" . }} + + +{{ partial "navigation.html" . }} + +
+

{{ .Title }}

+

+ {{ .Content }} +

+
+ + +{{ partial "foot.html" . }} + + +{{ partial "footer.html" . }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..0d46dbb --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,21 @@ + +{{ partial "header.html" . }} + + +{{ partial "head.html" . }} + + +{{ partial "navigation.html" . }} + +
+

{{ .Title }}

+

+ {{ .Content }} +

+
+ + +{{ partial "foot.html" . }} + + +{{ partial "footer.html" . }} diff --git a/layouts/partials/.gitignore b/layouts/partials/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html new file mode 100644 index 0000000..4841b81 --- /dev/null +++ b/layouts/partials/foot.html @@ -0,0 +1,3 @@ +