My blog
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add blog archetype

pyrox.dev 4f219e07 92fef1a3

verified
+46
+14
src/_archetypes/blog.ts
··· 1 + export default function (title: string) { 2 + const slug = title.replace(/[^\w\s\'\-\_]/g, "").replace(/\s+/g, "-") 3 + .toLowerCase(); 4 + 5 + return { 6 + path: `/blog/${slug}.md`, 7 + content: { 8 + title: title, 9 + summary: "", 10 + draft: true, 11 + date: new Date(Date.now()).toISOString().split("T")[0], 12 + }, 13 + }; 14 + }
+32
src/blog/hello-world.md
··· 1 + --- 2 + title: Hello World! 3 + summary: 'The first real blog post' 4 + draft: true 5 + published: '2025-02-20' 6 + --- 7 + 8 + Well, here we are again. This the 8th rewrite of this blog, and hopefully the final one, since Lume 9 + is really nice. 10 + 11 + This site was made over a fairly frantic ~10 days, just to get it done as fast as possible, and I 12 + have to say, it has been a fun experience. 13 + 14 + I hope to use this blog to share my thoughts on a bunch of different things, and making it from 15 + scratch has allowed me to be **extremely** pendantic (in a positive way) relative to my previous 16 + blog, which was using the premade [Congo](https://jpanther.github.io/congo/) theme for Hugo. While 17 + it's a very nice theme, it didn't fit what I wanted out of a blog of my own. 18 + 19 + Writing my own with [Lume](https://lume.land) has been a genuinely pleasant experience in 20 + combination with [Vento](https://vento.js.org), which is made by the same author as Lume, making 21 + this a very smooth and enjoyable experience to create. 22 + 23 + I'll hopefully have some interesting things to share in the future, so stay tuned for that! In the 24 + meantime, you can also check out the [Git Repo](https://git.pyrox.dev/pyrox/new-blog) for this blog, 25 + which will obviously get updated as I update this blog(and it's auto-deployed to my hosting server, 26 + neato!), and hopefully inspires you to create your own Lume-based blog. 27 + 28 + <!-- deno-fmt-ignore-start --> 29 + > [!note] Disclaimer! 30 + > I'm by no means a wizard with this stuff, my code is pretty messy. 31 + > However, I am happy with it, and that's what matters for me. 32 + <!-- deno-fmt-ignore-end -->