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