fix: link titles
This commit is contained in:
parent
8aa93625ac
commit
2af1c396a9
4 changed files with 8 additions and 25 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "4.0.0",
|
"version": "4.0.1",
|
||||||
"description": "The source for my personal site, blog and portfolio. Built using 11ty and hosted on Netlify.",
|
"description": "The source for my personal site, blog and portfolio. Built using 11ty and hosted on Netlify.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -467,12 +467,6 @@ article time {
|
||||||
line-height: var(--line-height-sm);
|
line-height: var(--line-height-sm);
|
||||||
}
|
}
|
||||||
|
|
||||||
article .read-more > svg {
|
|
||||||
height: 1rem;
|
|
||||||
width: 1rem;
|
|
||||||
margin-left: .125rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* search */
|
/* search */
|
||||||
.pagefind-ui__search-input {
|
.pagefind-ui__search-input {
|
||||||
font-weight: 400 !important;
|
font-weight: 400 !important;
|
||||||
|
@ -958,7 +952,6 @@ textarea:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* flex layout */
|
/* flex layout */
|
||||||
.read-more,
|
|
||||||
.pagination,
|
.pagination,
|
||||||
article h2,
|
article h2,
|
||||||
.now__section--header,
|
.now__section--header,
|
||||||
|
|
|
@ -25,18 +25,12 @@ meta:
|
||||||
{% if pagination.pageNumber == 0 %}{% include "partials/now/topper.liquid" status:status %}{% endif %} {% for post in pagination.items %} {% if post.data.published %}
|
{% if pagination.pageNumber == 0 %}{% include "partials/now/topper.liquid" status:status %}{% endif %} {% for post in pagination.items %} {% if post.data.published %}
|
||||||
<article class="h-entry">
|
<article class="h-entry">
|
||||||
<a class="no-underline" href="{{ post.url }}">
|
<a class="no-underline" href="{{ post.url }}">
|
||||||
<h2>
|
<h2>{{ post.data.title }}</h2>
|
||||||
{{ post.data.title }}
|
|
||||||
</h2>
|
|
||||||
</a>
|
</a>
|
||||||
<span class="p-author h-card hidden">{{ meta.siteName }}</span>
|
<span class="p-author h-card hidden">{{ meta.siteName }}</span>
|
||||||
<time class="dt-published" datetime="{{ post.date }}">
|
<time class="dt-published" datetime="{{ post.date }}">
|
||||||
{{ post.date | date: "%m.%Y" }}
|
{{ post.date | date: "%m.%Y" }}
|
||||||
</time>
|
</time>
|
||||||
<p class="p-summary">{{ post.data.post_excerpt | markdown }}</p>
|
<p class="p-summary">{{ post.data.post_excerpt | markdown }}</p>
|
||||||
<a class="no-underline read-more" href="{{ post.url }}">
|
|
||||||
Read more
|
|
||||||
{% tablericon "arrow-right" "Read more" %}
|
|
||||||
</a>
|
|
||||||
</article>
|
</article>
|
||||||
{% endif %} {% endfor %} {% include "partials/paginator.liquid" %}
|
{% endif %} {% endfor %} {% include "partials/paginator.liquid" %}
|
||||||
|
|
|
@ -21,9 +21,5 @@ templateEngineOverride: liquid,md
|
||||||
{%- if post.data.post_excerpt %}
|
{%- if post.data.post_excerpt %}
|
||||||
<p class="p-summary">{{ post.data.post_excerpt | markdown }}</p>
|
<p class="p-summary">{{ post.data.post_excerpt | markdown }}</p>
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
<a class="no-underline read-more" href="{{ post.url }}">
|
|
||||||
Read more
|
|
||||||
{% tablericon "arrow-right" "Read more" %}
|
|
||||||
</a>
|
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Reference in a new issue