summaryrefslogtreecommitdiff
path: root/_layouts/home.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/home.html')
-rw-r--r--_layouts/home.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/_layouts/home.html b/_layouts/home.html
new file mode 100644
index 0000000..a4802ec
--- /dev/null
+++ b/_layouts/home.html
@@ -0,0 +1,20 @@
+---
+layout: default
+---
+
+{%- if site.posts.size > 0 -%}
+<ul id="posts-list">
+ {%- for post in site.posts -%}
+ <li>
+ <h2>
+ <a href="{{ post.url | relative_url }}">
+ {{ post.title | escape }}
+ </a>
+ </h2>
+ <span>{{ post.date | date: "%b %-d, %Y" }}</span>
+ <p>{{ post.description }}</p>
+ </li>
+ {%- endfor -%}
+</ul>
+
+{%- endif -%}