diff --git a/src/_data/articles.js b/src/_data/articles.js deleted file mode 100644 index 48a0c774..00000000 --- a/src/_data/articles.js +++ /dev/null @@ -1,28 +0,0 @@ -const EleventyFetch = require('@11ty/eleventy-fetch') - -module.exports = async function () { - const MATTER_TOKEN = process.env.ACCESS_TOKEN_MATTER - const headers = { Cookie: MATTER_TOKEN } - const url = `https://web.getmatter.com/api/library_items/favorites_feed` - const res = EleventyFetch(url, { - duration: '1h', - type: 'json', - fetchOptions: { headers }, - }) - const feed = await res - const articles = feed.feed - return articles.reverse().map((article) => { - const tags = article['content']['tags'].map((tag) => tag['name']) - return { - url: article['content']['url'], - title: article['content']['title'], - date: article['content']['library']['modified_date'] - ? new Date(article['content']['library']['modified_date']) - : new Date(article['content']['publication_date']), - description: article['content']['excerpt'], - notes: article['content']['my_notes'] || '', - tags, - id: btoa(article['id']), - } - }) -} diff --git a/src/_data/follow.js b/src/_data/follow.js index 437df113..2a178632 100644 --- a/src/_data/follow.js +++ b/src/_data/follow.js @@ -3,7 +3,6 @@ module.exports = async function () { const feed = new ActivityFeed() feed.addSource('rss', '📝', 'https://coryd.dev/feeds/posts') feed.addSource('rss', '🎥', 'https://coryd.dev/feeds/movies') - feed.addSource('rss', '📰', 'https://coryd.dev/feeds/articles') feed.addSource('rss', '📖', 'https://coryd.dev/feeds/books') const entries = feed.getEntries().catch() const res = await entries diff --git a/src/_includes/now.liquid b/src/_includes/now.liquid index a0147b43..2c1f8f7a 100644 --- a/src/_includes/now.liquid +++ b/src/_includes/now.liquid @@ -6,7 +6,6 @@ layout: main {% render "partials/now/media-grid.liquid", data:artists, icon: "microphone-2", title: "Artists", shape: "square", count: 8, loading: 'eager' %} {% render "partials/now/media-grid.liquid", data:albums, icon: "vinyl", title: "Albums", shape: "square", count: 8, loading: 'lazy' %} {% render "partials/now/albumReleases.liquid", albumReleases:albumReleases %} -{% render "partials/now/articles.liquid", articles:articles %} {% render "partials/now/media-grid.liquid", data:books, icon: "books", title: "Books", shape: "vertical", count: 6, loading: 'lazy' %} {% render "partials/now/media-grid.liquid", data:movies, icon: "movie", title: "Movies", shape: "vertical", count: 6, loading: 'lazy' %} {% render "partials/now/media-grid.liquid", data:tv, icon: "device-tv", title: "TV", shape: "vertical", count: 6, loading: 'lazy' %} diff --git a/src/_includes/partials/now/articles.liquid b/src/_includes/partials/now/articles.liquid deleted file mode 100644 index 2837d75b..00000000 --- a/src/_includes/partials/now/articles.liquid +++ /dev/null @@ -1,15 +0,0 @@ -{% if articles.size > 0 %} -

- {% tablericon "news" "Articles" %} - Articles -

- -{% endif %} \ No newline at end of file diff --git a/src/feeds/articles.liquid b/src/feeds/articles.liquid deleted file mode 100644 index 960e0e90..00000000 --- a/src/feeds/articles.liquid +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: null -eleventyExcludeFromCollections: true -permalink: /feeds/articles ---- -{% render "partials/feeds/rss.liquid" - permalink:"/feeds/articles" - title:"Articles • Cory Dransfeldt" - description:"Articles I've liked recently." - data:articles - updated:articles[0].date - site:site -%} \ No newline at end of file diff --git a/src/uses.md b/src/uses.md index 32ecfb5c..ef3441c9 100644 --- a/src/uses.md +++ b/src/uses.md @@ -37,10 +37,10 @@ Software and services that I use for work and my own enjoyment.

macOS + iOS

-- [Orion](https://browser.kagi.com) - [Obsidian](https://obsidian.md) - [Mona](https://mastodon.social/@MonaApp) - [NetNewsWire](https://netnewswire.com) +- [GoodLinks](http://goodlinks.app) - [Parcel](https://parcelapp.net)

iOS

@@ -77,7 +77,6 @@ Software and services that I use for work and my own enjoyment. - [IVPN](https://www.ivpn.net) - [Kagi](https://kagi.com) - [Feedbin](https://feedbin.com) -- [Matter](https://getmatter.com) - [forwardemail.net](https://forwardemail.net) - [1Password](https://1password.com) - [Spotify](https://spotify.com)