Open the blog
This commit is contained in:
7
themes/templates/blog.html
Normal file
7
themes/templates/blog.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<section class="post-list">
|
||||
$for(posts)$
|
||||
$partial("_includes/components/post.html")$
|
||||
$endfor$
|
||||
</section>
|
||||
|
||||
$partial("_includes/components/pagination.html")$
|
34
themes/templates/default.html
Normal file
34
themes/templates/default.html
Normal file
@@ -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>
|
3
themes/templates/header.html
Normal file
3
themes/templates/header.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<header>
|
||||
<h1>$title$</h1>
|
||||
</header>
|
6
themes/templates/page.html
Normal file
6
themes/templates/page.html
Normal file
@@ -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>
|
19
themes/templates/post.html
Normal file
19
themes/templates/post.html
Normal file
@@ -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>
|
9
themes/templates/tag.html
Normal file
9
themes/templates/tag.html
Normal file
@@ -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")$
|
Reference in New Issue
Block a user