aboutsummaryrefslogtreecommitdiff
path: root/templates/_layouts
diff options
context:
space:
mode:
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")$