Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/leonardofaria/bento.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Faria <leonardofaria@gmail.com>2020-06-01 02:17:53 +0300
committerLeonardo Faria <leonardofaria@gmail.com>2020-06-01 02:17:53 +0300
commit8a2c3517f4c9327c0f95a1a6d5170fcaf85b8a48 (patch)
treefb83cd4d30ae08c3c032489e11094cb62692ee23 /layouts
parent3387cbc7e5375d3defcda220c70e18ee119f61a0 (diff)
Update archives page
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/post-summary.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/layouts/partials/post-summary.html b/layouts/partials/post-summary.html
index 0bd76a1..6d58a6c 100644
--- a/layouts/partials/post-summary.html
+++ b/layouts/partials/post-summary.html
@@ -1,9 +1,11 @@
-<h2 class="text-3xl font-bold mb-2">{{ .Key }}</h2>
-
-<ol class="mb-4">
- {{ range where .Pages "Type" "ne" "page" -}}
- <li>
- <a href="{{ .RelPermalink }}">{{ .Title }}</a>
- </li>
- {{- end }}
-</ol>
+<div class="flex flex-col md:flex-row border-b border-gray-400">
+ <h2 class="text-3xl font-bold mb-2 md:w-32 flex-shrink-0 flex-grow-0">{{ .Key }}</h2>
+
+ <ol class="md:pt-3 mb-4">
+ {{ range where .Pages "Type" "ne" "page" -}}
+ <li>
+ <a href="{{ .RelPermalink }}">{{ .Title }}</a>
+ </li>
+ {{- end }}
+ </ol>
+</div>