summaryrefslogtreecommitdiff
path: root/_layouts.gemini/home.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts.gemini/home.html')
-rw-r--r--_layouts.gemini/home.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/_layouts.gemini/home.html b/_layouts.gemini/home.html
new file mode 100644
index 0000000..4e877fb
--- /dev/null
+++ b/_layouts.gemini/home.html
@@ -0,0 +1,16 @@
+---
+layout: default
+---
+
+{{ content }}
+
+ {%- if site.posts.size > 0 -%}
+ {%- for post in site.posts -%}
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
+ <span class="post-meta">{{ post.date | date: date_format }}
+ {%- if post.lang == 'de' %} (DE){%- endif -%}
+ <a class="post-link" href="{{ post.url | relative_url }}">
+ {{ post.title | escape }}
+ </a>
+ {%- endfor -%}
+ {%- endif -%}