diff options
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..8d28ddf --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,27 @@ +--- +layout: default +--- + +<p class="meta"> + {{ page.date | date: "%B %d, %Y" }} + <a href="/"> + <i class="home icon-home"></i> + </a> +</p> + +<h1 class="title">{{ page.title }}</h1> + +<div id="post"> + {{ content }} +</div> + +<div id="related"> + <h3>Related Posts</h3> + <ul class="posts"> + {% for post in site.related_posts limit:3 %} + <li> + <span>{{ post.date | date_to_string }} »</span> <a href="{{ post.url }}">{{ post.title }}</a> + </li> + {% endfor %} + </ul> +</div>
\ No newline at end of file |