Skip to content

Commit 8e02ee9

Browse files
committed
List posts with excerpt
1 parent 10ee783 commit 8e02ee9

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

_posts/2012-04-17-what-s-new-in-elixir-1.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ layout: post
33
title: What's New in Elixir #1
44
author: Alexei Sholik
55
category: whatsnew
6+
excerpt: Last week Elixir has seen a lot of new features, improvements, and bug fixes. In this little post I'm going to highlight some of the most prominent ones.
67
---
78

8-
Last week Elixir has seen a lot of new features, improvements, and bug fixes. In this little post I'm going to highlight some of the most prominent ones.
9+
Last week Elixir has seen a lot of new features, improvements, and bug fixes. In this little post I'm going to highlight some of the most prominent ones.
910

1011
* Access protocol has been added for tuples, lists, strings, and whatnot. It allows us to easily access elements of a collection. We can also use a regex to find the first match in a string or a list. Examples follow:
1112

_posts/2012-04-17-what-s-new-in-elixir-2.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ layout: post
33
title: What's New in Elixir #2
44
author: Alexei Sholik
55
category: whatsnew
6+
excerpt: This week has not seen as many prominent new features as the previous one. Still, more bugs have been fixed and a number of small improvements has been made here and there, so the overall progress is quite noticeable.
67
---
7-
This week has not seen as many prominent new features as the previous one.
8-
Still, more bugs have been fixed and a number of small improvements has been made here and there, so the overall progress is quite noticeable.
8+
This week has not seen as many prominent new features as the previous one. Still, more bugs have been fixed and a number of small improvements has been made here and there, so the overall progress is quite noticeable.
99

1010
Let's get started with our usual overview. I'm using the latest master (`2851da4186a7e4c8e94c6ddd4e78dc7e883a31e9`) to compile and run the code snippets in this post.
1111

blog/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ <h2 class="entry-title"><a href="{{ post.url }}" title="{{ post.title }}" rel="b
1313
</div><!-- .sticky-header -->
1414

1515
<div class="entry-summary">
16-
{{ post.content | strip_html | truncatewords:80 }}
16+
{{ post.excerpt }}
1717
</div><!-- .entry-summary -->
18+
19+
<p><a href="{{ post.url }}" title="{{ post.title }}" rel="bookmark">Continue reading...</a></p>
1820
</div>
1921
{% endfor %}
2022
</div><!-- .hfeed -->

0 commit comments

Comments
 (0)