adjust spacing

This commit is contained in:
eggy 2021-04-07 17:20:10 -04:00
parent 878c662c8d
commit c4c6c62b2c
2 changed files with 5 additions and 5 deletions

View File

@ -10,10 +10,10 @@ pagination:
{% for post in pagination.items %} {% for post in pagination.items %}
{% if post.data.published %} {% if post.data.published %}
<div class="py-4"> <div class="py-0">
<p> <p>
<span class="text-2xl sm:text-4xl font-bold hover:text-blue-700 leading-tight"><a href="{{ post.url }}">{{ post.data.title }}</a></span> <span class="text-2xl sm:text-2xl font-bold hover:text-blue-700 leading-tight"><a href="{{ post.url }}">{{ post.data.title }}</a></span>
<span class="text-base sm:text-2xl font-normal"> &middot; {{ post.templateContent | readTime }} min read</span> <span class="text-base sm:text-2xs font-normal"> &middot; {{ post.templateContent | readTime }} min read</span>
</p> </p>
<em>{{ post.date | date: "%Y-%m-%d" }}</em> <em>{{ post.date | date: "%Y-%m-%d" }}</em>
<p class="mt-4">{{ post.data.post_excerpt }}...</p> <p class="mt-4">{{ post.data.post_excerpt }}...</p>

View File

@ -10,9 +10,9 @@ eleventyComputed:
--- ---
{% for post in collections[tag] %} {% for post in collections[tag] %}
<div class="py-4 sm:py-10"> <div class="py-4 sm:py-0">
<p> <p>
<span class="text-2xl sm:text-4xl font-bold hover:underline"><a href="{{ post.url }}">{{ post.data.title }}</a></span> <span class="text-2xl sm:text-2xl font-bold hover:underline"><a href="{{ post.url }}">{{ post.data.title }}</a></span>
</p> </p>
<em>{{ post.date | date: "%Y-%m-%d" }}</em> <em>{{ post.date | date: "%Y-%m-%d" }}</em>
<p class="mt-4">{{ post.data.post_excerpt }}... <p class="mt-4">{{ post.data.post_excerpt }}...