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-11-12 10:03:19 +0300
committerLeonardo Faria <leonardofaria@gmail.com>2020-11-12 10:03:19 +0300
commit69f69888823abc82d017b7804f57afca8d2e6005 (patch)
tree42b1d0e1c181ef21ae46b2957e04639922239f37
parent0555fe03d16af4a8dc23e7816011faa2e8876554 (diff)
Tweak archives page
-rw-r--r--layouts/partials/post-summary.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/post-summary.html b/layouts/partials/post-summary.html
index 0ec77d0..ebe9d98 100644
--- a/layouts/partials/post-summary.html
+++ b/layouts/partials/post-summary.html
@@ -1,16 +1,16 @@
<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 list-none w-full">
+ <ol class="md:pt-2 mb-4 list-none w-full">
{{ range where .Pages "Type" "ne" "page" -}}
- <li class="mb-8 flex flex-col px-4 no-underline rounded-md hover:bg-white transition duration-300 ease-in-out">
- <a href="{{ .RelPermalink }}" class="tracking-tight no-underline text-blue-600">
+ <li class="mb-8 flex flex-col no-underline rounded-md hover:bg-white transition duration-300 ease-in-out">
+ <a href="{{ .RelPermalink }}" class="tracking-tight no-underline text-blue-600 m-2 mb-0">
{{ .Title }}
</a>
- <small class="my-2 text-sm">
+ <small class="m-2 text-sm">
<time class="text-gray-500" datetime="{{ dateFormat "2006-01-02T15:04:05-07:00" (default .Date (.PublishDate)) }}">
- {{ dateFormat "January 2" (default .Date (.PublishDate)) }}
+ {{ dateFormat "Jan 2" (default .Date (.PublishDate)) }}
</time>
{{ range (.GetTerms "tags") }}