diff options
| author | davidtsadler <davidtsadler@googlemail.com> | 2011-12-29 20:55:30 +0000 |
|---|---|---|
| committer | davidtsadler <davidtsadler@googlemail.com> | 2011-12-29 20:55:30 +0000 |
| commit | 315bebe5be8e77a312f6aaa04d36b691eb5cf10a (patch) | |
| tree | acece43bd740bea7bf7864f431ee85a700a16d16 /_site_build/_includes | |
| parent | c1f1822f7ac0fdd6d7c46f71ed9d3705b3b247b5 (diff) | |
Add excerpts.
Main index page shows exceprts of posts using plugin.
Diffstat (limited to '_site_build/_includes')
| -rw-r--r-- | _site_build/_includes/post_excerpt.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/_site_build/_includes/post_excerpt.html b/_site_build/_includes/post_excerpt.html new file mode 100644 index 0000000..7edb5a0 --- /dev/null +++ b/_site_build/_includes/post_excerpt.html @@ -0,0 +1,8 @@ +<article class="excerpt"> + <header> + <h1>{{ post.title }}</h1> + <time datetime="{{ post.date | date: '%Y-%m-%d' }}" pubdate>{{ post.date | date: '%A, %d %B, %Y' }}</time> + </header> + {{ post.content | text_excerpt }} + <a href="{{ post.url }}" title="{{ post.title }}">Click to continue reading »</a></li> +</article> |
