diff options
Diffstat (limited to 'static/src/index.md')
-rw-r--r-- | static/src/index.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/static/src/index.md b/static/src/index.md new file mode 100644 index 0000000..30727d6 --- /dev/null +++ b/static/src/index.md @@ -0,0 +1,23 @@ +--- +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 -%} |