forked from devgateway/www.developmentgateway.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
54 lines (45 loc) · 1.51 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
layout: page
title: Blog
title_summary: because solutions should be shared
permalink: /blog/
weight: 8
include_share_widgets: True
---
<div class="blog-page-wrapper page-layout-element clearfix">
<div class="blog-main-column-wrapper blog-listing-wrapper">
<div class="blog-listing">
{% for post in site.posts %}
<article class="blog-entry mobject clearfix">
<h2 class="title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
<div class="post-meta">
<span class="post-date">
<span class="fa fa-calendar"></span>{{ post.date | date: '%B %d, %Y' }}
</span>
<span class="post-author">
<span class="fa fa-user"></span>{{ post.author }}
</span>
<span class="post-categories">{{ post.categories }}</span>
</div>
{% if post.thumbnail %}
<div class="group-side">
<div class="blog-image-wrapper">
{% image thumb_small {{ post.thumbnail | prepend: site.baseurl }} alt="{{ post.thumbnail-alt }}" %}
</div>
</div>
{% endif %}
<div class="group-main">
<div class="post-lede">{{ post.lede | markdownify }}</div>
<a class="readmore" href="{{ post.url }}">Continue reading</a>
{% include social-sharing.html %}
</div>
</article>
{% endfor %}
</div>
</div>
<section class="blog-sidebar-wrapper">
<div class="blog-sidebar">
{% include main/blog-sidebar.html %}
</div>
</section>
</div>