From 9d834470a6cf4d36758addcb5bc8586aa52a4d45 Mon Sep 17 00:00:00 2001 From: Hoernschen Date: Sat, 11 Nov 2023 20:48:54 +0100 Subject: [PATCH] ADD hugo theme skeleton --- README.md | 2 +- archetypes/default.md | 2 ++ layouts/404.html | 0 layouts/_default/baseof.html | 11 +++++++++++ layouts/_default/list.html | 0 layouts/_default/single.html | 0 layouts/index.html | 0 layouts/partials/footer.html | 0 layouts/partials/head.html | 0 layouts/partials/header.html | 0 theme.toml | 12 ++++++++++++ 11 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 archetypes/default.md create mode 100644 layouts/404.html 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/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html create mode 100644 theme.toml diff --git a/README.md b/README.md index db2098c..a787ef0 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # kobel -Pure CSS Hugo theme for personal blogs \ No newline at end of file +A pure CSS Hugo theme for personal blogs \ No newline at end of file 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/404.html b/layouts/404.html 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..e69de29 diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..e69de29 diff --git a/theme.toml b/theme.toml new file mode 100644 index 0000000..635fa3c --- /dev/null +++ b/theme.toml @@ -0,0 +1,12 @@ +name = "Kobel" +license = "GNU GPLv3" +licenselink = "https://code.nutfactory.org/themes/kobel/src/branch/main/LICENSE" +description = "A Pure CSS Hugo theme for personal websites" +homepage = "https://nutfactory.org" +tags = [] +features = [] +min_version = "0.41.0" + +[author] + name = "Hoernschen" + homepage = "https://hoernschen.de" \ No newline at end of file