chore(*): remove unused styles, images, clean up and format

This commit is contained in:
Cory Dransfeldt 2025-05-04 15:36:44 -07:00
parent 573b66a170
commit 10b343b964
No known key found for this signature in database
16 changed files with 46 additions and 91 deletions

View file

@ -1,5 +1,3 @@
<div class="banner coffee">
<p>
{% tablericon "coffee" %} <a class="coffee" href="https://buymeacoffee.com/cory">If you found this post helpful, you can buy me a coffee.</a>
</p>
<p>{% tablericon "coffee" %} <a class="coffee" href="https://buymeacoffee.com/cory">If you found this post helpful, you can buy me a coffee.</a></p>
</div>

View file

@ -1,5 +1,3 @@
<div class="banner mail">
<p>
{% tablericon "mail" %} <a class="mail" href="/contact">Reply to or discuss this post via email.</a>
</p>
<p>{% tablericon "mail" %} <a class="mail" href="/contact">Reply to or discuss this post via email.</a></p>
</div>

View file

@ -57,8 +57,8 @@
{%- endif -%}
</h3>
{% render "blocks/tags.liquid",
18 tags:item.tags
19 %}
tags:item.tags
%}
</article>
{%- endfor -%}
</article>

View file

@ -9,13 +9,13 @@
{%- endif -%}
{%- endcapture -%}
{%- capture pageDescription -%}
{% if page.description %}
{%- if page.description -%}
{{ page.description }}
{% elsif description %}
{%- elsif description -%}
{{ description }}
{% else %}
{%- else -%}
{{ globals.site_description }}
{% endif %}
{%- endif -%}
{%- endcapture -%}
{%- assign ogImage = globals.cdn_url | append: globals.avatar -%}
{%- case schema -%}
@ -83,7 +83,7 @@
{% render "metadata/static.liquid"
fullUrl:fullUrl,
pageTitle:pageTitle,
pageDescription:pageDescription
pageDescription:pageDescription,
ogImage:ogImage,
globals:globals,
%}

View file

@ -1,8 +1,8 @@
{%- assign description = pageDescription | markdown | strip_html | htmlTruncate | escape -%}
<title>{{- pageTitle -}}</title>
<meta property="og:title" content="{{- pageTitle -}}" />
<meta name="description" content="{{- description -}}" />
<meta property="og:description" content="{{- description -}}" />
<title>{{ pageTitle }}</title>
<meta property="og:title" content="{{ pageTitle }}" />
<meta name="description" content="{{ description }}" />
<meta property="og:description" content="{{ description }}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="{{ fullUrl }}" />
<link rel="canonical" href="{{ fullUrl }}" />

View file

@ -6,16 +6,11 @@
{%- assign prevHref = pagination.href.previous -%}
{%- assign nextHref = pagination.href.next -%}
{% if prevHref %}
<a
href="{{ prevHref }}"
aria-label="Previous page"
>
<a href="{{ prevHref }}" aria-label="Previous page">
{% tablericon "arrow-left" %}
</a>
{% else %}
<span>
{% tablericon "arrow-left" %}
</span>
<span>{% tablericon "arrow-left" %}</span>
{% endif %}
<select-pagination>
<select class="client-side" aria-label="Page selection">
@ -26,22 +21,15 @@
{%- endfor -%}
</select>
<noscript>
<p>
<span aria-current="page">{{ pagination.pageNumber | plus:1 }}</span> of {{ pagination.links.size }}
</p>
<p><span aria-current="page">{{ pagination.pageNumber | plus:1 }}</span> of {{ pagination.links.size }}</p>
</noscript>
</select-pagination>
{% if nextHref %}
<a
href="{{ nextHref }}"
aria-label="Next page"
>
<a href="{{ nextHref }}" aria-label="Next page">
{% tablericon "arrow-right" %}
</a>
{% else %}
<span>
{% tablericon "arrow-right" %}
</span>
<span>{% tablericon "arrow-right" %}</span>
{% endif %}
</nav>
{%- endunless -%}