-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblog.html
More file actions
41 lines (34 loc) · 923 Bytes
/
blog.html
File metadata and controls
41 lines (34 loc) · 923 Bytes
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
---
layout: default
permalink: /blog/index.html
paginate: 7
title: Blog
---
<section class="content">
<h2 class="section_title"><a href="/blog">blog</a></h2>
{% for post in site.posts %}
<div class="post">
<a href="{{ post.url }}" title="{{ post.title }}">
<h1 class="post_heading">{{ post.title }}</h1>
</a>
<ul class="postmeta">
<li>{{ post.date | date:"%d %B %Y" }}</li>
<li>|</li>
<li>{{ post.category }} </li>
<li>|</li>
<li> <a href="{{ post.url }}#disqus_thread">Comments</a> </li>
</ul>
{% if post.summary %}
<p>{{ post.summary | strip_html | truncatewords: 150 }}</p>
{% else %}
<div class="post_content">
<p>{{ post.content | split:'<!--break-->' | first }}</p>
{% if post.content contains '<!--break-->' %}
<a class="read_more" href="{{ post.url }}">..Read more</a>
{% endif %}
</div>
{% endif %}
</div>
{% endfor %}
</section>
</div>