forked from mmistakes/jekyll-theme-skinny-bones
-
Notifications
You must be signed in to change notification settings - Fork 5
/
blogs.html
43 lines (37 loc) · 1.51 KB
/
blogs.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
38
39
40
41
42
43
---
layout: default
title: Blogs
description: Latest posts
---
<div id="page-wrapper">
<!-- Banner -->
<section id="banner">
<div class="content">
<h2>{{ page.title }}</h2>
<p>{{ page.description }}</p>
</div>
</section>
<!-- Main -->
<section id="blog" class="container" >
<div class="row" style="display: flex; flex-wrap: wrap;">
{% for post in site.posts %}
<div class="3u 6u(narrower)">
<section class="box blog special">
<span class="image featured post-teaser">
{% if post.image.teaser %}
<img src="{{ '/images/' | append: post.image.teaser | relative_url }}" alt="teaser" itemprop="image">
{% else %}
<img src="{{ '/images/' | append: site.teaser | relative_url }}" alt="teaser" itemprop="image">{% endif %}
<h4>{{ post.title }}</h3>
<p>{{ post.description }}</p>
<ul class="actions">
<li><a href="{{ post.url | relative_url }}" class="button alt">Learn More</a></li>
</ul>
</a>
</section>
</div>
{% endfor %}
</div>
<div style="clear:both; "><a href="{{ '/tags' | relative_url }}" class="button alt">Tags</a> <br/> <br/></div>
</section>
</div>