From c3e34ca596f0032e707d8563c33bbd7f736ed7ca Mon Sep 17 00:00:00 2001
From: uvok cheetah
Date: Sun, 22 Jun 2025 14:28:33 +0200
Subject: Prepare Gemini postings
---
_layouts.gemini/postlist.html | 45 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 _layouts.gemini/postlist.html
(limited to '_layouts.gemini/postlist.html')
diff --git a/_layouts.gemini/postlist.html b/_layouts.gemini/postlist.html
new file mode 100644
index 0000000..2d8368b
--- /dev/null
+++ b/_layouts.gemini/postlist.html
@@ -0,0 +1,45 @@
+---
+layout: default
+---
+
+ {%- if page.title -%}
+
{{ page.title }}
+ {%- endif -%}
+
+ {{ content }}
+
+ {%- if site.posts.size > 0 -%}
+
+ {% assign paginator = site %}
+
+ {%- for post in paginator.posts -%}
+ {%- assign showsep = false -%}
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
+ {%- if post.lang == 'de' %} (DE) {%- endif -%}
+
+
+ {{ post.title | escape }}
+
+
Published: {{ post.date | date: date_format }}
+
+ {%- if forloop.first and paginator.page == 1 or paginator == site -%}
+ {{ post.content }}
+ {%- assign showsep = true -%}
+ {%- elsif site.show_excerpts -%}
+ {{ post.excerpt }}
+ {%- assign showsep = true -%}
+ {%- elsif post.description -%}
+ {{ post.description }}
+ {%- assign showsep = true -%}
+ {%- endif -%}
+
Link to full post
+
+
+ {%- if showsep -%}
+
+ {%- endif -%}
+ {%- endfor -%}
+
+ {%- endif -%}
+
+
--
cgit v1.2.3