diff options
author | Leonardo Faria <leonardofaria@gmail.com> | 2020-11-05 07:54:46 +0300 |
---|---|---|
committer | Leonardo Faria <leonardofaria@gmail.com> | 2020-11-05 07:54:46 +0300 |
commit | 031623d279f3cfe0a804c4dab5266e819e15f246 (patch) | |
tree | 7260d07de54a55ecdc6b12f1707ec3316b4731b6 /layouts/partials/post-summary.html | |
parent | c0464c75753840a6581cedcc73b879ef8877f419 (diff) |
Add dots effects; improve single post page
Diffstat (limited to 'layouts/partials/post-summary.html')
-rw-r--r-- | layouts/partials/post-summary.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/post-summary.html b/layouts/partials/post-summary.html index 3d96551..0ec77d0 100644 --- a/layouts/partials/post-summary.html +++ b/layouts/partials/post-summary.html @@ -1,14 +1,14 @@ <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"> + <ol class="md:pt-3 mb-4 list-none w-full"> {{ range where .Pages "Type" "ne" "page" -}} - <li class="mb-8 flex flex-wrap"> - <a href="{{ .RelPermalink }}" class="tracking-tight no-underline flex-grow w-full text-blue-600"> + <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"> {{ .Title }} </a> - <small class="mt-2 text-sm"> + <small class="my-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)) }} </time> |