fix: align card-tag with card-blog setup
This commit is contained in:
parent
bd88ef34b4
commit
a489f7fbe1
1 changed files with 5 additions and 2 deletions
|
|
@ -1,7 +1,10 @@
|
|||
{% set headingLevel = headingLevel | default("h2") %}
|
||||
{% set definedDate = definedDate | default(item.date) %}
|
||||
|
||||
<custom-card clickable>
|
||||
<h2 slot="headline" class="text-step-2">
|
||||
<{{ headingLevel }} slot="headline" class="text-step-2">
|
||||
<a href="{{ item.url | url }}">{{ item.data.title }}</a>
|
||||
</h2>
|
||||
</{{ headingLevel }}>
|
||||
<span slot="date"> {% include "partials/date.njk" %} </span>
|
||||
<p slot="content">{{ item.data.description }}</p>
|
||||
</custom-card>
|
||||
|
|
|
|||
Loading…
Reference in a new issue