h3 -> h2 in blog archive
This commit is contained in:
parent
43914d6fc0
commit
1c48e47773
5 changed files with 30 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eleventy-excellent",
|
||||
"version": "1.1.5",
|
||||
"version": "1.1.4",
|
||||
"engines": {
|
||||
"node": ">=16.x.x"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<li class="card flow clickable-card overflow-hidden">
|
||||
<h3>
|
||||
<h2>
|
||||
<a href="{{ post.url | url }}">{{ post.data.title }}</a>
|
||||
</h3>
|
||||
</h2>
|
||||
{% set definedDate = post.date %} {% include "partials/date.njk" %}
|
||||
<p>{{ post.data.description }}</p>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,16 @@ layout: base
|
|||
|
||||
<article class="wrapper region">
|
||||
<ul class="grid mt-l-xl" role="list" data-rows="masonry" data-layout="50-50">
|
||||
{% set postslist = collections.posts %} {% for post in postslist %} {% include
|
||||
"partials/blog-card.njk" %} {% endfor %}
|
||||
{% set postslist = collections.posts %} {% for post in postslist %}
|
||||
|
||||
<li class="card flow clickable-card overflow-hidden">
|
||||
<h2>
|
||||
<a href="{{ post.url | url }}">{{ post.data.title }}</a>
|
||||
</h2>
|
||||
{% set definedDate = post.date %} {% include "partials/date.njk" %}
|
||||
<p>{{ post.data.description }}</p>
|
||||
</li>
|
||||
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</article>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,16 @@ layout: base
|
|||
<!-- TODO: duplicate of partials/blog.njk -->
|
||||
|
||||
<ul class="wrapper grid mt-l-xl" role="list" data-rows="masonry" data-layout="50-50">
|
||||
{% set postslist = collections.posts %} {% for post in postslist.slice(0, 4) %} {%
|
||||
include "partials/blog-card.njk" %} {% endfor %}
|
||||
{% set postslist = collections.posts %} {% for post in postslist.slice(0, 4) %}
|
||||
|
||||
<li class="card flow clickable-card overflow-hidden">
|
||||
<h3>
|
||||
<a href="{{ post.url | url }}">{{ post.data.title }}</a>
|
||||
</h3>
|
||||
{% set definedDate = post.date %} {% include "partials/date.njk" %}
|
||||
<p>{{ post.data.description }}</p>
|
||||
</li>
|
||||
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</article>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,11 @@
|
|||
background: var(--color-secondary);
|
||||
}
|
||||
|
||||
.card h2 {
|
||||
font-size: var(--size-step-3);
|
||||
}
|
||||
|
||||
.card h2 a,
|
||||
.card h3 a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue