diff --git a/content.config.ts b/content.config.ts
new file mode 100644
index 0000000..b96ea75
--- /dev/null
+++ b/content.config.ts
@@ -0,0 +1,17 @@
+import { defineContentConfig, defineCollection, z } from '@nuxt/content';
+
+export default defineContentConfig({
+ collections: {
+ blog: defineCollection({
+ type: 'page',
+ source: 'blog/*.md',
+ schema: z.object({
+ author: z.string(),
+ author_image: z.string(),
+ date: z.string(),
+ caption: z.string(),
+ cover_image: z.string()
+ })
+ })
+ }
+});
diff --git a/.old/blogposts/10-30-22.md b/content/blog/10-30-22.md
similarity index 99%
rename from .old/blogposts/10-30-22.md
rename to content/blog/10-30-22.md
index 215f930..dfede71 100644
--- a/.old/blogposts/10-30-22.md
+++ b/content/blog/10-30-22.md
@@ -83,7 +83,8 @@ In the latest version of the Cemu 2.0 experimental builds, support for Pretendo
If you haven't yet seen this video by Good Vibes Gaming, go check it out! I won't go anywhere...
-[yt-iframe](Xtc9DJ6LYas)
+::md-iframe{video-id="Xtc9DJ6LYas"}
+::
All done? Welcome back! Yes, you aren't dreaming - Wii U Chat is finally here! The journey leading up to this point has been an adventurous one, so grab your popcorn as we go back to the beginning.
diff --git a/.old/blogposts/11-1-24.md b/content/blog/11-1-24.md
similarity index 100%
rename from .old/blogposts/11-1-24.md
rename to content/blog/11-1-24.md
diff --git a/.old/blogposts/11-14-21.md b/content/blog/11-14-21.md
similarity index 96%
rename from .old/blogposts/11-14-21.md
rename to content/blog/11-14-21.md
index 79b0328..34886e5 100644
--- a/.old/blogposts/11-14-21.md
+++ b/content/blog/11-14-21.md
@@ -33,19 +33,22 @@ Both Mario Kart 7 and Mario Kart 8 have started going online and can play matche

-[yt-iframe](W974FEDIoAA)
+::md-iframe{video-id="W974FEDIoAA"}
+::
## Hello YouTube!
An unintended side effect of working on Miiverse support in Mario Kart 8 was YouTube uploading being re-enabled! You can now upload race clips from Mario Kart 8 to YouTube again. Patrons who run the Miiverse patch can try this feature out right now
-[yt-iframe](d3Bq7auupV0)
+::md-iframe{video-id="d3Bq7auupV0"}
+::
## Squid Game
Splatoon multiplayer battles now works! As of now only private friend battles have been tested, but they seem to be working without issue
-[yt-iframe](d_qFnXrP7a4)
+::md-iframe{video-id="d_qFnXrP7a4"}
+::
## Friendship is magic
diff --git a/.old/blogposts/12-23-23.md b/content/blog/12-23-23.md
similarity index 100%
rename from .old/blogposts/12-23-23.md
rename to content/blog/12-23-23.md
diff --git a/.old/blogposts/12-27-23.md b/content/blog/12-27-23.md
similarity index 100%
rename from .old/blogposts/12-27-23.md
rename to content/blog/12-27-23.md
diff --git a/.old/blogposts/4-8-24.md b/content/blog/4-8-24.md
similarity index 100%
rename from .old/blogposts/4-8-24.md
rename to content/blog/4-8-24.md
diff --git a/.old/blogposts/5-19-24.md b/content/blog/5-19-24.md
similarity index 100%
rename from .old/blogposts/5-19-24.md
rename to content/blog/5-19-24.md
diff --git a/.old/blogposts/6-29-24.md b/content/blog/6-29-24.md
similarity index 100%
rename from .old/blogposts/6-29-24.md
rename to content/blog/6-29-24.md
diff --git a/.old/blogposts/8-2-24.md b/content/blog/8-2-24.md
similarity index 100%
rename from .old/blogposts/8-2-24.md
rename to content/blog/8-2-24.md
diff --git a/.old/blogposts/9-26-21.md b/content/blog/9-26-21.md
similarity index 100%
rename from .old/blogposts/9-26-21.md
rename to content/blog/9-26-21.md
diff --git a/.old/blogposts/9-29-21.md b/content/blog/9-29-21.md
similarity index 98%
rename from .old/blogposts/9-29-21.md
rename to content/blog/9-29-21.md
index 2afc83f..a542ca1 100644
--- a/.old/blogposts/9-29-21.md
+++ b/content/blog/9-29-21.md
@@ -32,7 +32,8 @@ Juxt started out before I actually even joined the Pretendo Network development
From there we quickly realized that the scope of this project was going to be much larger than we though, and moved on to experimenting with the Miiverse Applet itself
-[yt-iframe](d9VAr9sEvCo)
+::md-iframe{video-id="d9VAr9sEvCo"}
+::
> Check out this ancient video of the first demo website that was running in the Miiverse Applet.
@@ -40,11 +41,13 @@ Shortly after this the project was absorbed into the Pretendo Network, and our f
2020 was a big year for Juxt, going from the simple api server before, to rapidly building out its web interface and features across both the 3DS and Wii u
-[yt-iframe](NrfaOx5xcJY)
+::md-iframe{video-id="NrfaOx5xcJY"}
+::
> First attempt at an interface for the 3DS
-[yt-iframe](IXnJOacx_gE)
+::md-iframe{video-id="IXnJOacx_gE"}
+::
> Community page Demo on the Wii U
diff --git a/.old/blogposts/_test.md b/content/blog/_test.md
similarity index 87%
rename from .old/blogposts/_test.md
rename to content/blog/_test.md
index 1c05e37..94114a1 100644
--- a/.old/blogposts/_test.md
+++ b/content/blog/_test.md
@@ -1,13 +1,13 @@
---
title: "Test"
-author: "pinklimes"
-author_image: "https://github.com/pinklimes.png"
+author: "limes.pink"
+author_image: "https://github.com/gitlimes.png"
date: "January 20, 2038"
-caption: "A post to test the styling of the various elements we might use (rename to _test.md before deploying the blog section)"
+caption: "A post to test the styling of the various elements we might use"
cover_image: "https://media.discordapp.net/attachments/413884110667251722/886474243662037062/image1.jpg"
---
-A post to test the styling of the various elements we might use (rename to _test.md before deploying the blog section)
+A post to test the styling of the various elements we might use
**bold**
@@ -126,14 +126,22 @@ console.log(trueOrFalseJSON);
Adapted from [blockquote: The Block Quotation element, from MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote)
-[yt-iframe](djV11Xbc914)
+::md-iframe{video-id="djV11Xbc914"}
+::
-```[yt-iframe](djV11Xbc914)```
+```
+::md-iframe{video-id="djV11Xbc914"}
+::
+```
-
+
+
+Wikilimes (that's me!), CC BY-SA 4.0, via Wikimedia Commons
+
+***
-Blogposts whose filename starts with a \_ will not show up on the /blogs page, but will still be accessible from the url (keep in mind that the file is still going to be publicly accessible on GitHub).
+Blogposts with filename starting with \_ will not show up on the /blogs page, but will still be accessible via the url.
\ No newline at end of file
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 55e60f8..2d5787d 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -3,6 +3,12 @@ export default defineNuxtConfig({
devtools: { enabled: true },
srcDir: './src',
+ nitro: {
+ prerender: {
+ routes: ['/blog/feed.xml']
+ }
+ },
+
modules: [
'@nuxt/eslint',
'@nuxt/fonts',
@@ -26,6 +32,16 @@ export default defineNuxtConfig({
}
},
+ content: {
+ build: {
+ markdown: {
+ highlight: {
+ theme: 'github-dark'
+ }
+ }
+ }
+ },
+
i18n: {
compilation: {
strictMessage: false
diff --git a/package-lock.json b/package-lock.json
index 1409499..6ed2e47 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -15,6 +15,7 @@
"@nuxt/icon": "^1.11.0",
"@nuxtjs/i18n": "^9.5.3",
"eslint": "^9.24.0",
+ "feed": "^4.2.2",
"nuxt": "^3.16.2",
"vue": "^3.5.13",
"vue-router": "^4.5.0"
@@ -7642,6 +7643,18 @@
}
}
},
+ "node_modules/feed": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/feed/-/feed-4.2.2.tgz",
+ "integrity": "sha512-u5/sxGfiMfZNtJ3OvQpXcvotFpYkL0n9u9mM2vkui2nGo8b4wvDkJ8gAkYqbA8QpGyFCv3RK0Z+Iv+9veCS9bQ==",
+ "license": "MIT",
+ "dependencies": {
+ "xml-js": "^1.6.11"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
"node_modules/file-entry-cache": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
@@ -13507,6 +13520,12 @@
"url": "https://github.com/chalk/supports-color?sponsor=1"
}
},
+ "node_modules/sax": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz",
+ "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==",
+ "license": "ISC"
+ },
"node_modules/scslre": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/scslre/-/scslre-0.3.0.tgz",
@@ -16167,6 +16186,18 @@
}
}
},
+ "node_modules/xml-js": {
+ "version": "1.6.11",
+ "resolved": "https://registry.npmjs.org/xml-js/-/xml-js-1.6.11.tgz",
+ "integrity": "sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==",
+ "license": "MIT",
+ "dependencies": {
+ "sax": "^1.2.4"
+ },
+ "bin": {
+ "xml-js": "bin/cli.js"
+ }
+ },
"node_modules/xml-name-validator": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz",
diff --git a/package.json b/package.json
index 38930ca..6f25454 100644
--- a/package.json
+++ b/package.json
@@ -19,6 +19,7 @@
"@nuxt/icon": "^1.11.0",
"@nuxtjs/i18n": "^9.5.3",
"eslint": "^9.24.0",
+ "feed": "^4.2.2",
"nuxt": "^3.16.2",
"vue": "^3.5.13",
"vue-router": "^4.5.0"
diff --git a/src/assets/css/main.css b/src/assets/css/main.css
index 5acfe39..c78c46f 100644
--- a/src/assets/css/main.css
+++ b/src/assets/css/main.css
@@ -50,7 +50,8 @@ body,
}
code {
- background-color: var(--bg-shade-0);
+ display: inline-block;
+ background-color: #191919;
padding: 4px;
border-radius: 4px;
font-family: Consolas, Monaco, "Andale Mono", monospace;
@@ -58,6 +59,20 @@ code {
color: var(--text-shade-2);
}
+h1.dot:not([data-title-suffix]):after,
+h2.dot:not([data-title-suffix]):after {
+ content: ".";
+ display: inline-block;
+ color: var(--accent-shade-1);
+}
+
+h1.dot[data-title-suffix]:after,
+h2.dot[data-title-suffix]:after {
+ content: attr(data-title-suffix);
+ display: inline-block;
+ color: var(--accent-shade-1);
+}
+
/* BUTTONS */
button,
@@ -186,7 +201,7 @@ input[type="checkbox"] {
cursor: pointer;
}
input[type="checkbox"]:checked {
- background: no-repeat center/contain url(../images/check.svg), var(--accent-shade-0);
+ background: no-repeat center/contain url(/assets/images/check.svg), var(--accent-shade-0);
}
input {
diff --git a/src/components/MdIframe/MdIframe.vue b/src/components/MdIframe/MdIframe.vue
new file mode 100644
index 0000000..bccd97d
--- /dev/null
+++ b/src/components/MdIframe/MdIframe.vue
@@ -0,0 +1,18 @@
+
+
+
+
+
diff --git a/src/pages/blog/[slug].vue b/src/pages/blog/[slug].vue
new file mode 100644
index 0000000..09e5d00
--- /dev/null
+++ b/src/pages/blog/[slug].vue
@@ -0,0 +1,313 @@
+
+
+
+