diff options
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> |