From c13b29d6b7365326b306e98c78aa50338de21e9c Mon Sep 17 00:00:00 2001 From: Mat Manna <91392083+matmanna@users.noreply.github.com> Date: Sat, 22 Nov 2025 15:10:08 -0500 Subject: [PATCH 01/14] :wrench: Fix lighthouse action URL (remove redirect) --- .github/workflows/lighthouse.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index 687b702..6a4624d 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -9,7 +9,7 @@ jobs: uses: treosh/lighthouse-ci-action@v12 with: urls: | - https://matmanna.github.io/doctored + https://matmanna.github.io/doctored/ https://matmanna.github.io/doctored/blog https://matmanna.github.io/doctored/about https://matmanna.github.io/doctored/projects -- 2.51.2 From 59b61c00ed1f677c287e51a19e63cb1b7275d3e2 Mon Sep 17 00:00:00 2001 From: Mat Manna <91392083+matmanna@users.noreply.github.com> Date: Sat, 22 Nov 2025 20:30:24 +0000 Subject: [PATCH 02/14] :zap: Improve CSS/JS performance --- _includes/head.html | 4 ++-- assets/css/tailwind.css | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 3b68c6a..e41f84d 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -28,8 +28,8 @@ applyTheme(); {%- assign palette = site.color | default: 'stone' -%} - + - + {% seo %} \ No newline at end of file diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index 482839c..413747c 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -5,6 +5,7 @@ @layer base { @font-face { font-family: 'LibertinusMonoMono'; + font-display: swap; src: url('../fonts/LibertinusMonoMono.otf') format('opentype'); font-weight: normal; font-style: normal; -- 2.51.2 From de80399aa9e354d4fdb71112b40c23f449a65944 Mon Sep 17 00:00:00 2001 From: Mat Manna <91392083+matmanna@users.noreply.github.com> Date: Sat, 22 Nov 2025 20:34:31 +0000 Subject: [PATCH 03/14] :wheelchair: Add landmarks, link names, html lang --- _includes/anchor_headings.html | 2 +- _layouts/default.html | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/_includes/anchor_headings.html b/_includes/anchor_headings.html index ee5c2a6..a16253d 100644 --- a/_includes/anchor_headings.html +++ b/_includes/anchor_headings.html @@ -139,7 +139,7 @@ {% capture anchor %}{{ anchor }} {{ include.anchorAttrs | replace: '%heading%', escaped_header | replace: '%html_id%', html_id }}{% endcapture %} {% endif %} - {% capture anchor %}{{ include.anchorBody | replace: '%heading%', escaped_header | default: '' }}{% endcapture %} + {% capture anchor %}{{ include.anchorBody | replace: '%heading%', escaped_header | default: '' }}{% endcapture %} {% if beforeHeading %} diff --git a/_layouts/default.html b/_layouts/default.html index 7793784..1bf6ac0 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,4 +1,5 @@ - +`` + {% include head.html %} -
- {% include anchor_headings.html html=content anchorBody="" +
+ {% include anchor_headings.html html=content anchorAttrs=anchorBody="" anchorClass="content-center" %} -
+