Skip to content

Commit a9df280

Browse files
committed
Added a layout for individual news posts.
1 parent 9cb0e0c commit a9df280

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

_layouts/news_post.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
layout: news
3+
---
4+
5+
<div class="post">
6+
<h3>{{ page.title }}</h3>
7+
8+
{{ content }}
9+
10+
<p class="post-info">Posted By {{ page.author }} on {{ page.date | date_to_string }}</p>
11+
</div>
12+
13+
<p><a href="/news/">Back to News Archive</a></p>

0 commit comments

Comments
 (0)