We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00cc19d commit 74f61cdCopy full SHA for 74f61cd
_layouts/post.html
@@ -0,0 +1,25 @@
1
+---
2
+layout: default
3
4
+
5
+<div class="post">
6
+ <h1 class="post-title">{{ page.title }}</h1>
7
+ <span class="post-date">{{ page.date | date_to_string }}</span>
8
+ {{ content }}
9
+</div>
10
11
+<div class="related">
12
+ <h2>Related Posts</h2>
13
+ <ul class="related-posts">
14
+ {% for post in site.related_posts limit:3 %}
15
+ <li>
16
+ <h3>
17
+ <a href="{{ post.url }}">
18
+ {{ post.title }}
19
+ <small>{{ post.date | date_to_string }}</small>
20
+ </a>
21
+ </h3>
22
+ </li>
23
+ {% endfor %}
24
+ </ul>
25
0 commit comments