Skip to content

Commit bd7df3e

Browse files
committed
what
1 parent 2005594 commit bd7df3e

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed

main.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,6 @@ import { start } from "bluejay";
22

33
import Page from "./components/Page.jsx";
44

5-
await Bun.plugin({
6-
name: "svg",
7-
setup: (build) => {
8-
build.onLoad({ filter: /\.svg$/ }, async (args) => {
9-
const svg = await Bun.file(args.path).text();
10-
return {
11-
contents: `export default()=>${svg}`,
12-
loader: "js",
13-
};
14-
});
15-
},
16-
});
17-
185
await start({
196
dir: import.meta.dir,
207
mode: Bun.env.START_MODE,

pages/blog.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default ({ pages }) => {
1010
<p>I write about stuff.</p>
1111
<div>
1212
{pages
13-
.filter((page) => page.module.type === "blog")
13+
.filter((page) => page.module.type === "blog" && !page.module.hidden)
1414
.map((page) => (
1515
<Clickable {...page.module} url={`/${page.path.slice(0, -5)}`} />
1616
))}

pages/blog/skibidi.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export const title = "skibidi"
2+
export const description = "skibidi sigma gyatt"
3+
export const type = "blog"
4+
export const date = "2024-07-26"
5+
export const hidden = true
6+
7+
# skibidi rizzler
8+
9+
i'll take a double triple grimace shake on a gyatt 4 by 4 sigma style extra quandale dingles with a skibidi and a squeeze light ohio grease make it edge rizz it and let it mew

0 commit comments

Comments
 (0)