File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
layout: internal
3
3
---
4
- {% assign entries=site.posts | where: "type", posts %}
4
+ {% assign entries=site.posts %}
5
5
6
6
< section class ="archive ">
7
- < h2 > Archive </ h2 >
7
+ < h2 > {{page.title}} </ h2 >
8
8
< section >
9
9
{% for post in entries limit: site.n_recent_posts%}
10
10
< div class ="row ">
@@ -26,7 +26,7 @@ <h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
26
26
< hr />
27
27
28
28
< section >
29
- < h2 > More </ h2 >
29
+ < h3 > Older {{ page.title }} </ h3 >
30
30
31
31
{% for post in entries offset: site.n_recent_posts %}
32
32
{% capture mod %}{{ forloop.index0 | modulo:2 }}{% endcapture %}
@@ -36,6 +36,13 @@ <h2>More</h2>
36
36
{% endif %}
37
37
< article class ="column column-50 ">
38
38
< h3 > < a href ="{{ site.baseurl }}{{ post.url }} "> {{ post.title }}</ a > </ h3 >
39
+ {% if post.description %}
40
+ {{ post.description | markdownify}}
41
+ {% else %}
42
+ < p >
43
+ {{ post.content | markdownify | strip_html | truncatewords: 20 }}
44
+ </ p >
45
+ {% endif %}
39
46
</ article >
40
47
{% if mod == '1' or forloop.last %}
41
48
</ div >
Original file line number Diff line number Diff line change 1
1
---
2
2
layout : blog
3
- title : Archive
3
+ title : Articles
4
4
permalink : /
5
5
redirect_from :
6
6
- /category/blog.html
You can’t perform that action at this time.
0 commit comments