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