diff --git a/src/404.html b/src/404.html
index 8c4f9f92..ee8e665f 100644
--- a/src/404.html
+++ b/src/404.html
@@ -21,4 +21,4 @@ permalink: 404.html
-{% include "partials/popular-posts.liquid" %}
+{% render "partials/popular-posts.liquid", posts: collections.posts, analytics: analytics %}
diff --git a/src/_data/site.js b/src/_data/site.js
new file mode 100644
index 00000000..09f92949
--- /dev/null
+++ b/src/_data/site.js
@@ -0,0 +1,12 @@
+module.exports = async function () {
+ return {
+ "name": "Cory Dransfeldt",
+ "email": "hi@coryd.dev",
+ "url": "https://coryd.dev",
+ "logo": "https://coryd.dev/assets/img/logo.webp",
+ "title": "Cory Dransfeldt",
+ "description": "I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies.",
+ "letterboxd-host": "https://a.ltrbxd.com",
+ "cdn-movies": "https://movies.coryd.dev"
+ }
+}
diff --git a/src/_data/site.json b/src/_data/site.json
deleted file mode 100644
index 5119c3b5..00000000
--- a/src/_data/site.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name": "Cory Dransfeldt",
- "email": "hi@coryd.dev",
- "url": "https://coryd.dev",
- "logo": "https://coryd.dev/assets/img/logo.webp",
- "title": "Cory Dransfeldt",
- "description": "I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies.",
- "fastmail": "mailto:hi@coryd.dev",
- "github": "https://github.com/cdransf",
- "mastodon": "https://social.lol/@cory",
- "applemusic": "https://music.apple.com/profile/cdransf",
- "listenbrainz": "https://listenbrainz.org/user/cdransf/",
- "instapaper": "https://www.instapaper.com/p/coryd",
- "letterboxd": "https://letterboxd.com/cdme",
- "letterboxd-host": "https://a.ltrbxd.com",
- "trakt": "https://trakt.tv/users/cdransf",
- "coffee": "https://www.buymeacoffee.com/cory",
- "cdn-movies": "https://movies.coryd.dev"
-}
diff --git a/src/_includes/base.liquid b/src/_includes/base.liquid
index 4102f344..b8032c1a 100644
--- a/src/_includes/base.liquid
+++ b/src/_includes/base.liquid
@@ -31,7 +31,7 @@
{% capture css %}
- {% include "../assets/styles/prism.css" %}
+ {% render "../assets/styles/prism.css" %}
{% endcapture %}
-{% include "partials/popular-posts.liquid" %}
+{% render "partials/popular-posts.liquid", posts: collections.posts, analytics: analytics %}