From 84768cc88812d8d7df6860385756b37d45d4e458 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 6 May 2023 20:28:46 -0700 Subject: [PATCH] fix: additional errors and notes --- src/_data/books.js | 1 + src/_data/movies.js | 1 + src/_data/tv.js | 1 + src/_includes/now.liquid | 4 ---- src/feed.11ty.liquid | 2 +- tailwind.css | 2 ++ 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/_data/books.js b/src/_data/books.js index 2d5b0934..2e0e7897 100644 --- a/src/_data/books.js +++ b/src/_data/books.js @@ -3,6 +3,7 @@ const { AssetCache } = require('@11ty/eleventy-fetch') module.exports = async function () { const url = 'https://oku.club/rss/collection/POaRa' + // noinspection JSCheckFunctionSignatures const asset = new AssetCache('books_data') if (asset.isCacheValid('1h')) return await asset.getCachedValue() const res = await extract(url) diff --git a/src/_data/movies.js b/src/_data/movies.js index a620e532..7c8f63b3 100644 --- a/src/_data/movies.js +++ b/src/_data/movies.js @@ -3,6 +3,7 @@ const { AssetCache } = require('@11ty/eleventy-fetch') module.exports = async function () { const url = 'https://letterboxd.com/cdme/rss' + // noinspection JSCheckFunctionSignatures const asset = new AssetCache('movies_data') if (asset.isCacheValid('1h')) return await asset.getCachedValue() const res = await extract(url, { diff --git a/src/_data/tv.js b/src/_data/tv.js index d869c1f6..ad2beb06 100644 --- a/src/_data/tv.js +++ b/src/_data/tv.js @@ -4,6 +4,7 @@ const { AssetCache } = require('@11ty/eleventy-fetch') module.exports = async function () { const TV_KEY = process.env.API_KEY_TRAKT const url = `https://trakt.tv/users/cdransf/history.atom?slurm=${TV_KEY}` + // noinspection JSCheckFunctionSignatures const asset = new AssetCache('tv_data') if (asset.isCacheValid('1h')) return await asset.getCachedValue() const res = await extract(url).catch((error) => { diff --git a/src/_includes/now.liquid b/src/_includes/now.liquid index fe2e2af1..dcd39b41 100644 --- a/src/_includes/now.liquid +++ b/src/_includes/now.liquid @@ -1,11 +1,7 @@ --- layout: main --- - {% include "header.liquid" %} - - -

Currently diff --git a/src/feed.11ty.liquid b/src/feed.11ty.liquid index a51be632..27468b49 100644 --- a/src/feed.11ty.liquid +++ b/src/feed.11ty.liquid @@ -18,4 +18,4 @@ permalink: '/feed.json' }{% if not forloop.last %},{% endif %} {% endfor %} ] -} \ No newline at end of file +} diff --git a/tailwind.css b/tailwind.css index 92ae9d21..68356b4a 100644 --- a/tailwind.css +++ b/tailwind.css @@ -2,11 +2,13 @@ @tailwind components; @tailwind utilities; +/*noinspection Annotator*/ ::-moz-selection { color: theme(colors.white); background: theme(colors.purple.400); } +/*noinspection Annotator*/ ::selection { color: theme(colors.white); background: theme(colors.purple.400);