-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathblog.html
More file actions
executable file
·58 lines (52 loc) · 1.79 KB
/
blog.html
File metadata and controls
executable file
·58 lines (52 loc) · 1.79 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
layout: default-blog
---
<section class="twelve columns">
{% for post in site.posts | limit:20 %}
<article class="blog-post">
<div class="one columns alpha">
<div class="blog-date-sec">
<span>{{ post.date | date: '%B' }}</span>
<h3>{{ post.date | date: '%d' }}</h3>
<span>{{ post.date | date: '%Y' }}</span>
</div>
</div>
<!-- This is commented out due to layout issues when a post doesn't have an image
======================= -->
<!-- <div class="four columns alpha">
<img class="frame" src="{{ post.image-thumb }}" alt="">
<br>
</div> -->
<!-- Note:
Make this: <div class="nine columns omega"> into <div class="six columns omega"> if you fix the images issue -->
<div class="one columns alpha">
<img src="" alt="">
<br>
</div>
<div class="ten columns omega">
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
<div class="postmetadata">
<span>by </span><h6 class="blog-author"> {{ post.author }}</h6>
<span>in </span><h6 class="blog-author"> <a href="{{ post.category_url }}.html">{{ post.category }}</a></h6>
</div>
<p>
{{ post.content | strip_html | truncate: 200}}
</p>
<a href="{{ post.url }}"><button class="button-blog btn btn-xs">Read More</button></a>
</div>
<br class="clear">
</article>
{% endfor %}
<br class="clear">
<!-- <div class="pagination2 pagination2-centered">
<ul>
<li class="disabled"><a href="#">«</a></li>
<li class="active"><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">»</a></li>
</ul>
</div> -->
</section>
<!-- end-main-content -->