diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-10-14 19:15:51 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-10-14 19:15:51 +0200 |
| commit | 8a2dadcd2572fb5f472c91e8bc3957882fa48320 (patch) | |
| tree | a982606db7fc2373994c645fa310d925dfcaac7c /themes/templates | |
| download | flevum-8a2dadcd2572fb5f472c91e8bc3957882fa48320.tar.gz | |
Open the blog
Diffstat (limited to 'themes/templates')
| -rw-r--r-- | themes/templates/blog.html | 7 | ||||
| -rw-r--r-- | themes/templates/default.html | 34 | ||||
| -rw-r--r-- | themes/templates/header.html | 3 | ||||
| -rw-r--r-- | themes/templates/page.html | 6 | ||||
| -rw-r--r-- | themes/templates/post.html | 19 | ||||
| -rw-r--r-- | themes/templates/tag.html | 9 |
6 files changed, 78 insertions, 0 deletions
diff --git a/themes/templates/blog.html b/themes/templates/blog.html new file mode 100644 index 0000000..6f5c48d --- /dev/null +++ b/themes/templates/blog.html @@ -0,0 +1,7 @@ +<section class="post-list"> + $for(posts)$ + $partial("_includes/components/post.html")$ + $endfor$ +</section> + +$partial("_includes/components/pagination.html")$ diff --git a/themes/templates/default.html b/themes/templates/default.html new file mode 100644 index 0000000..80e9bd1 --- /dev/null +++ b/themes/templates/default.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<html data-theme="dark"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <meta name="author" content="Eugen Wissner" /> + + $partial("_includes/meta.html")$ + + <title>$title$ | Flevum</title> + + <link rel="icon" type="image/png" href="/assets/images/favicon.svg"> + <link href="/assets/css/styles.css?v=1" rel="stylesheet"> + <link href="/assets/css/custom.css?v=2" rel="stylesheet"> + </head> + + <body> + $partial("_includes/partials/burgerMenu.html")$ + + $partial("_includes/layout/header.html")$ + + $partial("_includes/layout/navigation.html")$ + + $partial("_includes/partials/headerSeparator.html")$ + + <main class="$if(active-index)$wrapper long$else$wrapper$endif$" role="main"> + $body$ + </main> + + $partial("_includes/layout/footer.html")$ + </body> +</html> diff --git a/themes/templates/header.html b/themes/templates/header.html new file mode 100644 index 0000000..6f5e1fe --- /dev/null +++ b/themes/templates/header.html @@ -0,0 +1,3 @@ +<header> + <h1>$title$</h1> +</header> diff --git a/themes/templates/page.html b/themes/templates/page.html new file mode 100644 index 0000000..a1b91c9 --- /dev/null +++ b/themes/templates/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/themes/templates/post.html b/themes/templates/post.html new file mode 100644 index 0000000..e9d7bbf --- /dev/null +++ b/themes/templates/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/themes/templates/tag.html b/themes/templates/tag.html new file mode 100644 index 0000000..a9566c7 --- /dev/null +++ b/themes/templates/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("_includes/components/post.html")$
+ $endfor$
+</section>
+
+$partial("_includes/components/pagination.html")$
|
