diff --git a/_redirects b/_redirects index 8d74260b..604a4663 100644 --- a/_redirects +++ b/_redirects @@ -39,6 +39,7 @@ /posts/2023/my-default-apps-2023-edition/ /uses 301 /posts/2024/link-blogging-using-readwise/ /posts/2024/link-blogging-using-readwise-reader/ 301 /2022/12/automating-email-cleanup-in-gmail /posts/2022/automating-email-cleanup-in-gmail/ 301 +/posts/2023/automate-syndicate-content-mastodon-eleventy/ /posts/2023/automate-and-syndicate-content-from-eleventy-to-mastodon/ 301 # music /music/artists/hyperdontia-denmark-turkiye /music/artists/hyperdontia-denmark-tuerkiye 301 diff --git a/config/filters/index.js b/config/filters/index.js index f4254aae..14b59d8e 100644 --- a/config/filters/index.js +++ b/config/filters/index.js @@ -142,6 +142,7 @@ export default { normalized['title'] = item['title'] normalized['alt'] = item['title'] normalized['rating'] = item['rating'] + normalized['favorite'] = item['favorite'] normalized['subtext'] = item['rating'] } if (item.type === 'book') { diff --git a/package-lock.json b/package-lock.json index 096a4688..08113fad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "19.4.9", + "version": "19.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "19.4.9", + "version": "19.5.0", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", @@ -532,9 +532,9 @@ "peer": true }, "node_modules/@types/node": { - "version": "20.14.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.4.tgz", - "integrity": "sha512-1ChboN+57suCT2t/f8lwtPY/k3qTpuD/qnqQuYoBg6OQOcPyaw7PiZVdGpaZYAvhDDtqrt0oAaM8+oSu1xsUGw==", + "version": "20.14.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.5.tgz", + "integrity": "sha512-aoRR+fJkZT2l0aGOJhuA8frnCSoNX6W7U2mpNq63+BxBIj5BQFt8rHy627kijCmm63ijdSdwvGgpUsU6MBsZZA==", "dev": true, "license": "MIT", "dependencies": { @@ -1149,9 +1149,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.4.804", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.804.tgz", - "integrity": "sha512-gXMMs2m7aUTdZpORQAvMCyH0JHywSpZxjblSc/C81aDr34jh0hmpplTFcM4AYrYALVmiVT/r63oA3tEG1BPVRw==", + "version": "1.4.805", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.805.tgz", + "integrity": "sha512-8W4UJwX/w9T0QSzINJckTKG6CYpAUTqsaWcWIsdud3I1FYJcMgW9QqT1/4CBff/pP/TihWh13OmiyY8neto6vw==", "dev": true, "license": "ISC" }, diff --git a/package.json b/package.json index e84ef452..8079374b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "19.4.9", + "version": "19.5.0", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_includes/partials/header.liquid b/src/_includes/partials/header.liquid index 7e9ecf67..ea080e2e 100644 --- a/src/_includes/partials/header.liquid +++ b/src/_includes/partials/header.liquid @@ -1,7 +1,7 @@

{% if page.url != '/' %} - {{ meta.siteName }} + {{ meta.siteName }} {% else %} {{ meta.siteName }} {% endif %} diff --git a/src/_includes/partials/media/watching/grid.liquid b/src/_includes/partials/media/watching/grid.liquid index 8731f4e4..94dacd95 100644 --- a/src/_includes/partials/media/watching/grid.liquid +++ b/src/_includes/partials/media/watching/grid.liquid @@ -10,9 +10,11 @@
{{ item.title }}
{{ item.year }} - {% if rating and item.rating %} - ({{ item.rating }}) - {% endif %} + {% unless item.favorite %} + {% if item.rating %} + ({{ item.rating }}) + {% endif %} + {% endunless %} %}
{% else %}
{{ item.name }}
diff --git a/src/_includes/partials/nav/link.liquid b/src/_includes/partials/nav/link.liquid index 928380e9..046e3690 100644 --- a/src/_includes/partials/nav/link.liquid +++ b/src/_includes/partials/nav/link.liquid @@ -9,7 +9,7 @@ {% endif %} {% else %} - + {% if icon %} {% tablericon icon link %} {{ link }} diff --git a/src/_includes/partials/nav/linked-icon.liquid b/src/_includes/partials/nav/linked-icon.liquid index 9e767034..51d4d88f 100644 --- a/src/_includes/partials/nav/linked-icon.liquid +++ b/src/_includes/partials/nav/linked-icon.liquid @@ -2,6 +2,7 @@ class="{{ icon }}" href="{{ link | downcase }}" rel="me" - title="{{ name }}"> + title="{{ name }}" + tabindex="0"> {% tablericon icon name %} \ No newline at end of file diff --git a/src/_includes/partials/nav/menu.liquid b/src/_includes/partials/nav/menu.liquid index 7f625cf8..fce519d4 100644 --- a/src/_includes/partials/nav/menu.liquid +++ b/src/_includes/partials/nav/menu.liquid @@ -1,12 +1,18 @@ +{% capture js %} + {% render "../../../assets/scripts/menu.js" %} +{% endcapture %} +
- -