-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblog.html
More file actions
36 lines (33 loc) · 1.43 KB
/
Copy pathblog.html
File metadata and controls
36 lines (33 loc) · 1.43 KB
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
---
layout: page-alt
title: Blog
subtitle:
categories: ["blog"]
---
<!-- Post Section -->
<section class="post">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
{% comment %} for post in site.categories.blog {% endcomment %}
{% comment %} for post in site.posts {% endcomment %}
{% for post in site.categories.blog %}
<article class="post">
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
<h1 class="post-title">{{ post.title }}</h1>
</a>
<p class="post-meta">
{{ post.date | date: "%b %-d, %Y" }}
{% if post.author %} <span class="post-meta-sep"> / </span> {{ post.author }}{% endif %}
{% if post.meta %} <span class="post-meta-sep"> / </span> {{ post.meta }}{% endif %}</p>
<div class="post-entry">
{{ post.excerpt }}
</div>
<div class="text-left"><a href="{{ post.url }}">Continue reading</a></div>
</article>
<hr>
{% endfor %}
</div>
</div>
</div>
</section>