-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblog.html
32 lines (26 loc) · 952 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
---
title: Blog
permalink: "/blog/"
layout: page
description: Updates from the Awesome Inc U community
---
<div class="container">
<div class="blog-header col-md-offset-2">
<h1>{{page.title}}</h1>
<p class="lead blog-description">{{page.description}}</p>
</div>
<div class="row">
<div class="col-sm-8 col-sm-offset-2 blog-main">
{% for post in site.posts %}
<div class="blog-post">
<h2><a href={{post.url}}>{{ post.title }}</a></h2>
<p class="blog-post-meta">{{ post.date | date: "%b %d, %Y" }}</p>
{{ post.content | split:'<!--more-->' | first }}
{% if post.content contains '<!--more-->' %}
<a href="{{ post.url }}">Read more...</a>
{% endif %}
</div>
{% endfor %}
</div><!-- /.blog-main -->
</div><!-- /.row -->
</div><!-- /.container -->