From 0536a3aeb7e731be3f08c4ff7d67d4bc5cc97fff Mon Sep 17 00:00:00 2001 From: Nathan Upchurch Date: Tue, 9 Jul 2024 11:36:02 -0500 Subject: [PATCH] Update JS to ES modules --- _data/cowList.js | 2 +- _data/metadata.js | 2 +- content/blog/blog.11tydata.js | 2 +- content/feed/feed.11tydata.js | 2 +- content/now/now.11tydata.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_data/cowList.js b/_data/cowList.js index eaf98ec..d98d5d7 100644 --- a/_data/cowList.js +++ b/_data/cowList.js @@ -1,4 +1,4 @@ -module.exports = { +export default { onScience: ` _________________________________________ ( Once, when the secrets of science were ) diff --git a/_data/metadata.js b/_data/metadata.js index d08a2dc..17ddd1a 100644 --- a/_data/metadata.js +++ b/_data/metadata.js @@ -1,4 +1,4 @@ -module.exports = { +export default { title: "Nathan Upchurch", logo: "/img/logo.svg", url: "https://nathanupchurch.com/", diff --git a/content/blog/blog.11tydata.js b/content/blog/blog.11tydata.js index 2d655b1..614f505 100644 --- a/content/blog/blog.11tydata.js +++ b/content/blog/blog.11tydata.js @@ -1,4 +1,4 @@ -module.exports = { +export default { tags: [ "posts" ], diff --git a/content/feed/feed.11tydata.js b/content/feed/feed.11tydata.js index ed3fec9..42ad826 100644 --- a/content/feed/feed.11tydata.js +++ b/content/feed/feed.11tydata.js @@ -1,3 +1,3 @@ -module.exports = { +export default { eleventyExcludeFromCollections: true } diff --git a/content/now/now.11tydata.js b/content/now/now.11tydata.js index 15e3b16..f36dc01 100644 --- a/content/now/now.11tydata.js +++ b/content/now/now.11tydata.js @@ -1,4 +1,4 @@ -module.exports = { +export default { tags: [ "now" ],