archive.html in grey-energy-theme-0.0.1 vs archive.html in grey-energy-theme-0.0.2
- old
+ new
@@ -1,24 +1,3 @@
---
-layout: default
+layout: archive
---
-
-<div class="archive-content">
- <!-- List all posts... -->
- {% if site.posts.size > 0 %}
- <h1 class="page-heading">Posts</h1>
- <ul class="post-list">
- {% for post in site.posts %}
- <li>
- {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
- <span class="post-meta">{{ post.date | date: date_format }}</span>
-
- <h2>
- <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
- </h2>
- </li>
- {% endfor %}
- </ul>
- {% else %}
- <p>Posts will be arriving soon...</p>
- {% endif %}
-</div>