new layout, new name
This commit is contained in:
21
_layouts/category.html
Normal file
21
_layouts/category.html
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div class="category">
|
||||
<ul class="post-list">
|
||||
{% for post in site.categories[page.category] %}
|
||||
<li>
|
||||
<h2>
|
||||
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
||||
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
|
||||
</h2>
|
||||
<article class='post-content'>
|
||||
{{ post.excerpt }}
|
||||
</article>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via rss</a></p>
|
||||
</div>
|
@ -9,12 +9,11 @@
|
||||
|
||||
<div class="page-content">
|
||||
<div class="wrapper">
|
||||
<h1 class="page-heading"></h1>
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- {% include footer.html %} -->
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user