diff options
Diffstat (limited to '_layouts/home.html')
-rw-r--r-- | _layouts/home.html | 20 |
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 -%} |