diff options
Diffstat (limited to 'index.md')
-rw-r--r-- | index.md | 28 |
1 files changed, 21 insertions, 7 deletions
@@ -1,9 +1,23 @@ --- -# -# By default, content added below the "---" mark will appear in the home page -# between the top bar and the list of recent posts. -# To change the home page layout, edit the _layouts/home.html file. -# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults -# -layout: home +layout: default --- + +{%- if site.posts.size > 0 -%} +<ul id="posts-list"> + {%- for post in site.posts -%} + {%- if post.hide -%}{%- continue -%}{%- endif -%} + <li> + <h2> + <a href="{{ post.url | relative_url }}"> + {{ post.title | escape }} + </a> + </h2> + <span>{{ post.date | date: site.date_format }}</span> + {%- if post.updated %} + <span>(Updated {{ post.updated | date: site.date_format }})</span> + {% endif -%} + <p>{{ post.description }}</p> + </li> + {%- endfor -%} +</ul> +{%- endif -%} |