-
Notifications
You must be signed in to change notification settings - Fork 5
/
blog.html
37 lines (33 loc) · 871 Bytes
/
blog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
layout: "blog-index"
permalink: "/blog/"
title: "Blog"
subtitle: "This is your blog index page."
masthead:
img_path: false
pat_path: "/img/backgrounds/bg2.jpg"
author: "john"
categories:
- "bowtie"
- "blog"
comments:
share:
---
<div class="blog">
<ul class="post-list">
{% for post in site.posts %}
{% if post.author %}
{% assign author = site.authors | where:"name", post.author | first %}
{% endif %}
<li>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
<p class="post-meta small">{{ post.date | date: "%b %-d, %Y" }}</p>
{{ post.excerpt }}
{% include post-meta.html %}
</li>
{% endfor %}
</ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
</div>