projects
/
blog
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf42fa9
)
Update post.html
author
Peter Gao
<dapenggao@users.noreply.github.com>
Sat, 16 May 2015 12:34:15 +0000
(20:34 +0800)
committer
Peter Gao
<dapenggao@users.noreply.github.com>
Sat, 16 May 2015 12:34:15 +0000
(20:34 +0800)
_layouts/post.html
patch
|
blob
|
history
diff --git
a/_layouts/post.html
b/_layouts/post.html
index 9ac13d44b0cbbb35568828ab3bcca533833aeb96..5554be9f20d1a393c8ff0c1e0ae970396bbe719f 100644
(file)
--- a/
_layouts/post.html
+++ b/
_layouts/post.html
@@
-8,6
+8,7
@@
layout: default
{{ content }}
</article>
+{% if site.related_posts != empty %}
<aside class="related">
<h2>Related Posts</h2>
<ul class="related-posts">
@@
-23,3
+24,4
@@
layout: default
{% endfor %}
</ul>
</aside>
+{% endif %}