projects
/
web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
only show a post excerpt in the blog index
[web.git]
/
personal
/
blog
/
index.html
diff --git
a/personal/blog/index.html
b/personal/blog/index.html
index 70032ce218c9eeb4941f03b338316b159c0843a8..380aaaadd3103898fcdcbb721c3188eb67a9c8a5 100644
(file)
--- a/
personal/blog/index.html
+++ b/
personal/blog/index.html
@@
-1,7
+1,8
@@
---
---
-title: "Ralf's Ramblings"
+vars: blog-index.html
slug: Blog
rss: true
slug: Blog
rss: true
+sort: 10
---
{% assign num_posts = 5 %}
---
{% assign num_posts = 5 %}
@@
-9,9
+10,11
@@
rss: true
{% assign num_posts = num_posts | minus: 1 %}
{% if num_posts >= 0 %}
<header class="subtitle">
{% assign num_posts = num_posts | minus: 1 %}
{% if num_posts >= 0 %}
<header class="subtitle">
- <div class="side"><a href="{{ post.url }}">Permalink</a> • {{ post.date | date: "%b %-d, %Y" }}{% if post.author %} • {{ post.author }}{% endif %}{% if post.meta %} • {{ post.meta }}{% endif %}</div>
+ {% include post-header.html item=post %}
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
</header>
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
</header>
- {{ post.content }}
+ {{ post.excerpt }}
+
+ <p><a href="{{ post.url }}">Read more...</a></p>
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}