about summary refs log tree commit diff
path: root/layouts/partials/generic-list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/generic-list.html')
-rw-r--r--layouts/partials/generic-list.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/generic-list.html b/layouts/partials/generic-list.html
new file mode 100644
index 0000000..e8397c4
--- /dev/null
+++ b/layouts/partials/generic-list.html
@@ -0,0 +1,12 @@
+  <section class="list">
+    <ul>
+      {{ range sort .Pages "Date" }}
+      <li>
+        <a href="{{ .RelPermalink }}">{{ trim .Title " " }}</a>
+        {{ partial "post-language-switcher.html" . }}
+        {{ partial "post-info.html" . }}
+      </li>
+      {{ end }}
+    <ul>
+  </section>
+