removed redundant templates and put header on homepage into header elem
This commit is contained in:
parent
d52680eb35
commit
2e6a2cb200
4 changed files with 5 additions and 25 deletions
|
@ -1,2 +0,0 @@
|
||||||
My posts:
|
|
||||||
{{> templates/post-list.html }}
|
|
|
@ -1,7 +1,9 @@
|
||||||
|
<header>
|
||||||
<h2>Hi there, I'm Pagwin</h2>
|
<h2>Hi there, I'm Pagwin</h2>
|
||||||
<p>I post here sometimes</p>
|
<p>I post here sometimes</p>
|
||||||
|
</header>
|
||||||
<hr>
|
<hr>
|
||||||
<h2>Recent posts:</h2>
|
<h2>Posts:</h2>
|
||||||
<dl>
|
<dl>
|
||||||
{{#posts}}
|
{{#posts}}
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
<dl>
|
|
||||||
{{#posts}}
|
|
||||||
<div>
|
|
||||||
<dt class="post-title-item"><a href="{{link}}">{{title}}</a> </dt>
|
|
||||||
<dd class="dt-subtitle"><time datetime="{{{iso_date}}}">{{date}}</time></dd>
|
|
||||||
<dd>
|
|
||||||
<p>{{summary}}</p>
|
|
||||||
</dd>
|
|
||||||
</div>
|
|
||||||
{{/posts}}
|
|
||||||
</dl>
|
|
|
@ -1,9 +0,0 @@
|
||||||
{{! keeping around in case I want tags list in future}}
|
|
||||||
{{#has_tags}}
|
|
||||||
<div class="info">
|
|
||||||
Tags:
|
|
||||||
{{#tags}}
|
|
||||||
<a href="/tags/{{{.}}}/">{{{.}}}</a>
|
|
||||||
{{/tags}}
|
|
||||||
</div>
|
|
||||||
{{/has_tags}}
|
|
Loading…
Reference in a new issue