Move contents of the index.html page to the 'home' layout
This commit is contained in:
parent
d79ca534e4
commit
8321b14b29
|
@ -1,23 +1,3 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: home
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="home">
|
|
||||||
|
|
||||||
<h1 class="page-heading">Posts</h1>
|
|
||||||
|
|
||||||
<ul class="post-list">
|
|
||||||
{% for post in site.posts %}
|
|
||||||
<li>
|
|
||||||
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
|
|
||||||
|
|
||||||
<h2>
|
|
||||||
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title | escape }}</a>
|
|
||||||
</h2>
|
|
||||||
</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
Loading…
Reference in New Issue