@@ -1,2 +1,3 @@
|
||||
<p><a href="/archive/tags.html">Tags</a></p>
|
||||
Here you can find all my previous posts:
|
||||
$partial("templates/post-list.html")$
|
||||
|
@@ -13,7 +13,6 @@
|
||||
<a href="/">nattopages</a>
|
||||
</div>
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
<a href="/about.html">About</a>
|
||||
<a href="/contact.html">Contact</a>
|
||||
<a href="/archive.html">Archive</a>
|
||||
@@ -21,7 +20,6 @@
|
||||
</header>
|
||||
|
||||
<main role="main">
|
||||
<h1>$title$</h1>
|
||||
$body$
|
||||
</main>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<ul>
|
||||
$for(posts)$
|
||||
<li>
|
||||
<a href="$url$">$title$</a> - $date$
|
||||
<a href="$url$">$title$</a> - $date$
|
||||
</li>
|
||||
$endfor$
|
||||
</ul>
|
||||
|
@@ -3,6 +3,9 @@
|
||||
Posted on $date$
|
||||
$if(author)$
|
||||
by $author$
|
||||
$endif$ <br>
|
||||
$if(tags)$
|
||||
Tags: $tags$
|
||||
$endif$
|
||||
</section>
|
||||
<section>
|
||||
|
2
templates/tag.html
Normal file
2
templates/tag.html
Normal file
@@ -0,0 +1,2 @@
|
||||
Here are all the posts marked with tag $tag$:
|
||||
$partial("templates/post-list.html")$
|
6
templates/tags.html
Normal file
6
templates/tags.html
Normal file
@@ -0,0 +1,6 @@
|
||||
$if(tags)$
|
||||
Here is a list of all the tags:
|
||||
<div class="tags"><p>$tags$</p></div>
|
||||
$else$
|
||||
There are no tags
|
||||
$endif$
|
Reference in New Issue
Block a user