-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
35 lines (31 loc) · 881 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
---
layout: blog
title: Blog posts
permalink: blog
---
<div class="content">
<h1>Recent posts</h1>
<div>
{% for post in site.posts %}
<div>
<h2><a href="{{site.baseurl}}{{post.url}}">{{ post.title }}</a></h2>
<div class="post-single-meta-author">
{% if post.author_avatar %}
<div class="post-single-meta-author-avatar">
<img src="{{ post.author_avatar }}" alt="{{ post.author_name }}">
</div>
{% endif %}
<div class="post-single-meta-author-name">
{% if post.author_url %}
<a href="{{ post.author_url }}">{{ post.author_name }}</a>
{% else %}
<a href="/tags/{{ post.author_name | urlencode }}">{{ post.author_name }}</a>
{% endif %}
</div>
</div>
{{ post.excerpt }}
<br/>
</div>
{% endfor %}
</div>
</div>