-
Notifications
You must be signed in to change notification settings - Fork 1
/
blog.html
28 lines (27 loc) · 955 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
---
title: "Blog Posts"
layout: default
---
<section class="section" id="{{ page.slug }}">
<div class="container">
<div class="row">
<div class="section-heading">
<h2>{{ page.title }}</h2>
{%- asset separator.svg @inline -%}
{%- for post in site.posts -%}
<div class="col-lg-6 offset-lg-3">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">{{ post.title }}</h5>
<p class="card-text">
{{ post.content | split: '<!-- more -->' | first | markdownify }}
</p>
<a href="{{ post.url }}" class="btn btn-primary">Read More</a>
</div>
</div>
</div>
{%- endfor -%}
</div>
</div>
</div>
</section>