summaryrefslogtreecommitdiff
path: root/templates/_layouts
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-11-05 09:33:23 +0100
committerEugen Wissner <belka@caraus.de>2025-11-05 09:33:23 +0100
commit86f7a15a2843f8c207124345d13969fb05ecc611 (patch)
treed0850ce1f334093f70a06eec5de97fb8b54372c2 /templates/_layouts
parent80e0fe22d28687f3599a949f1a4d29171b12b20f (diff)
downloadflevum-86f7a15a2843f8c207124345d13969fb05ecc611.tar.gz
Move themes files into the root directory
Diffstat (limited to 'templates/_layouts')
-rw-r--r--templates/_layouts/blog.html7
-rw-r--r--templates/_layouts/page.html6
-rw-r--r--templates/_layouts/post.html19
-rw-r--r--templates/_layouts/tag.html9
4 files changed, 41 insertions, 0 deletions
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 @@
+<section class="post-list">
+ $for(posts)$
+ $partial("templates/_includes/components/post.html")$
+ $endfor$
+</section>
+
+$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 @@
+<article class="page single" role="article">
+ <h2 class="page-title" role="heading">$title$</h2>
+ <div class="page-content">
+ $body$
+ </div>
+</article>
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 @@
+<article class="post" role="article">
+ <h2 class="post-title">
+ $title$
+ </h2>
+
+ <div class="post-author">
+ <div class="post-meta">
+ <time datetime="$date$" class="post-date">$published$</time>
+ <div class="post-categories"><a href="/$tags$">$tags$</a></div>
+ </div>
+ </div>
+
+ <div class="post-content">
+ $body$
+ </div>
+
+ <div class="post-footer">
+ </div>
+</article>
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 @@
+<h1 class="post-lists-title">Alle Posts mit Tag: <span>$title$</span></h1>
+
+<section class="post-list">
+ $for(posts)$
+ $partial("templates/_includes/components/post.html")$
+ $endfor$
+</section>
+
+$partial("templates/_includes/components/pagination.html")$