From 86f7a15a2843f8c207124345d13969fb05ecc611 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 5 Nov 2025 09:33:23 +0100 Subject: Move themes files into the root directory --- templates/_includes/components/pagination.html | 15 ++++++++++ templates/_includes/components/post.html | 28 +++++++++++++++++++ templates/_includes/layout/footer.html | 8 ++++++ templates/_includes/layout/header.html | 6 ++++ templates/_includes/layout/navigation.html | 6 ++++ templates/_includes/meta.html | 19 +++++++++++++ templates/_includes/partials/burgerMenu.html | 4 +++ templates/_includes/partials/headerSeparator.html | 1 + templates/_layouts/blog.html | 7 +++++ templates/_layouts/page.html | 6 ++++ templates/_layouts/post.html | 19 +++++++++++++ templates/_layouts/tag.html | 9 ++++++ templates/default.html | 34 +++++++++++++++++++++++ 13 files changed, 162 insertions(+) create mode 100644 templates/_includes/components/pagination.html create mode 100644 templates/_includes/components/post.html create mode 100644 templates/_includes/layout/footer.html create mode 100644 templates/_includes/layout/header.html create mode 100644 templates/_includes/layout/navigation.html create mode 100644 templates/_includes/meta.html create mode 100644 templates/_includes/partials/burgerMenu.html create mode 100644 templates/_includes/partials/headerSeparator.html create mode 100644 templates/_layouts/blog.html create mode 100644 templates/_layouts/page.html create mode 100644 templates/_layouts/post.html create mode 100644 templates/_layouts/tag.html create mode 100644 templates/default.html (limited to 'templates') diff --git a/templates/_includes/components/pagination.html b/templates/_includes/components/pagination.html new file mode 100644 index 0000000..524cc8f --- /dev/null +++ b/templates/_includes/components/pagination.html @@ -0,0 +1,15 @@ + diff --git a/templates/_includes/components/post.html b/templates/_includes/components/post.html new file mode 100644 index 0000000..e901ec5 --- /dev/null +++ b/templates/_includes/components/post.html @@ -0,0 +1,28 @@ +
+

+ $title$ +

+ + + +
+ $if(teaser)$ + $teaser$ + $else$ + $description$ + $endif$ +

+ + Weiterlesen... + +

+
+ + +
diff --git a/templates/_includes/layout/footer.html b/templates/_includes/layout/footer.html new file mode 100644 index 0000000..bd27826 --- /dev/null +++ b/templates/_includes/layout/footer.html @@ -0,0 +1,8 @@ + diff --git a/templates/_includes/layout/header.html b/templates/_includes/layout/header.html new file mode 100644 index 0000000..d5b7a76 --- /dev/null +++ b/templates/_includes/layout/header.html @@ -0,0 +1,6 @@ + diff --git a/templates/_includes/layout/navigation.html b/templates/_includes/layout/navigation.html new file mode 100644 index 0000000..7f46bd8 --- /dev/null +++ b/templates/_includes/layout/navigation.html @@ -0,0 +1,6 @@ + diff --git a/templates/_includes/meta.html b/templates/_includes/meta.html new file mode 100644 index 0000000..d649432 --- /dev/null +++ b/templates/_includes/meta.html @@ -0,0 +1,19 @@ + + +$if(published)$ + + +$else$ + +$endif$ +$if(tags)$ + + +$endif$ + + +$if(teaser)$ + +$else$ + +$endif$ diff --git a/templates/_includes/partials/burgerMenu.html b/templates/_includes/partials/burgerMenu.html new file mode 100644 index 0000000..5d0bdc2 --- /dev/null +++ b/templates/_includes/partials/burgerMenu.html @@ -0,0 +1,4 @@ + + \ No newline at end of file diff --git a/templates/_includes/partials/headerSeparator.html b/templates/_includes/partials/headerSeparator.html new file mode 100644 index 0000000..561de6d --- /dev/null +++ b/templates/_includes/partials/headerSeparator.html @@ -0,0 +1 @@ +
\ No newline at end of file diff --git a/templates/_layouts/blog.html b/templates/_layouts/blog.html new file mode 100644 index 0000000..3b0ab27 --- /dev/null +++ b/templates/_layouts/blog.html @@ -0,0 +1,7 @@ +
+ $for(posts)$ + $partial("templates/_includes/components/post.html")$ + $endfor$ +
+ +$partial("templates/_includes/components/pagination.html")$ diff --git a/templates/_layouts/page.html b/templates/_layouts/page.html new file mode 100644 index 0000000..a1b91c9 --- /dev/null +++ b/templates/_layouts/page.html @@ -0,0 +1,6 @@ +
+

$title$

+
+ $body$ +
+
diff --git a/templates/_layouts/post.html b/templates/_layouts/post.html new file mode 100644 index 0000000..e9d7bbf --- /dev/null +++ b/templates/_layouts/post.html @@ -0,0 +1,19 @@ +
+

+ $title$ +

+ + + +
+ $body$ +
+ + +
diff --git a/templates/_layouts/tag.html b/templates/_layouts/tag.html new file mode 100644 index 0000000..3245efe --- /dev/null +++ b/templates/_layouts/tag.html @@ -0,0 +1,9 @@ +

Alle Posts mit Tag: $title$

+ +
+ $for(posts)$ + $partial("templates/_includes/components/post.html")$ + $endfor$ +
+ +$partial("templates/_includes/components/pagination.html")$ diff --git a/templates/default.html b/templates/default.html new file mode 100644 index 0000000..f7aa7ec --- /dev/null +++ b/templates/default.html @@ -0,0 +1,34 @@ + + + + + + + + + + $partial("templates/_includes/meta.html")$ + + $title$ | Flevum + + + + + + + + $partial("templates/_includes/partials/burgerMenu.html")$ + + $partial("templates/_includes/layout/header.html")$ + + $partial("templates/_includes/layout/navigation.html")$ + + $partial("templates/_includes/partials/headerSeparator.html")$ + +
+ $body$ +
+ + $partial("templates/_includes/layout/footer.html")$ + + -- cgit v1.2.3