new layout, new name

This commit is contained in:
Mahdi Dibaiee
2016-11-09 15:57:01 +03:30
parent 5f28015e02
commit 24fccc3c7d
15 changed files with 80 additions and 87 deletions

21
_layouts/category.html Normal file
View 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>