aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '_includes/frontpage/news')
-rw-r--r--_includes/frontpage/news6
1 files changed, 6 insertions, 0 deletions
diff --git a/_includes/frontpage/news b/_includes/frontpage/news
new file mode 100644
index 0000000..16e5f93
--- /dev/null
+++ b/_includes/frontpage/news
@@ -0,0 +1,6 @@
+{% for post in site.posts | limit: 3 %}
+<article>
+ <h2><a href="{{ post.url }}">{{ post.title }}</a> <small>({{ post.date | date: "%b %-d, %Y" }})</small></h2>
+ {{ post.excerpt }}
+</article>
+{% endfor %} \ No newline at end of file