version four and this time, it's gonna stick.
2770 words / 11 min read

Lila giving two thumbs up while looking absolutely tired as hell. She is surrounded by this websites project files.


hey. we’re doing this one more time.

Hope you’re jolly this December season ‘cuz I am here to give you more of my own crap straight to you. Unlike Valentine’s Day which I see as a bad ploy to make people spend more money, I find Christmas to be a pretty fun ploy to make people spend more money. It’s probably the aesthetics. And the food. And the chocolate is still cheap.

As you can probably figure out from the title and the fact that 75% of my current blog posts are about website rewrites, I have decided to rewrite my website for a third time. It almost feels like a recurring theme that every year something stands out like a sore thumb on this domain to the point where I cannot stand it, where everything has to go out the window and I have to go back to the drawing board, because otherwise I will go insane. And trying to figure out how to improve it will make me go even more insane.

Except for uh. Well. This time I didn’t go insane.
It was actually quite pleasant.

Whereas the last rewrite took me 3 months or so, this took me less than two weeks
ONE week. This is largely due to the fact that I’m more experienced with HTML and CSS now than I was before, that’s a given. But I also largely think it’s because I swapped off from using Astro. And boy am I glad I did.

 

pull you right back to earth.

Age old question. What prompted this change?
Age old answer. The old site sucked shit.

The old yummypillow.art

Maybe not visually. The site looked completely fine, really! It was functional both on mobile and desktop, everything as accessible as I could’ve thought of making it at the time and everything was a nice, clean shade of my favorite purple. Many of my friends thought it looked cool too! So what was the big issue?

The back-end. Again. What good is a “functional” website when making any changes at all to the code base comes with a sense of impending doom, that I’m going to have to go on an Easter egg hunt to find the single CSS rule that I want to change, just because it’s placed somewhere I could never fucking anticipate because I was too tired that day to make things any easier on myself.
This is almost the entire code structure of futon-reform; it is extremely lazy, and I paid for it dearly.

I also failed in almost every part of the list I wrote out for myself in the last post. While the base layout was mostly unified, I failed to unify my way of creating components. Everything was seemingly imported at random, and in the end I would have to model out everything for each page regardless. This automatically made page creation a hassle. But of course what really tripped me up was that while I didn’t put literally all the styling in a single CSS file, most of the time all the individual styling would end up in the component files instead, making editing them a complete hassle as well. This is entirely on me.

 

The fact I was using Astro didn’t help. Don’t get me wrong, it’s an extremely capable framework that can make incredible things out of websites—and people smarter than me definitely have. It’s very capable. Too capable. Capable of many things that me as a hobbyist have no real use of.

I’m not hosting any dynamic content on this site, everything is compiled statically! What use is middleware for me? Islands? Saturated components? I barely even know how to write JavaScript to begin with!! Content collections? It’s all in one folder already, is that not enough?? Astros way of building websites was way too advanced for my use case. I needed something simpler for my static site. Something that could just generate things from my own written code and be done with. A static site generator of sorts.

Enter Lume. I had heard of it initially from an off-hand comment by my programmer friends, with most agreeing it looked—and I quote—cute, which usually means that it’s probably something really neat and really handy. It was originally for the Deno JavaScript framework, but before I could commit to any sort of real work, Cloudflare (who also owns Astro btw) decided to buy out Deno entirely for their crew, and announce the discontinuation of its maintenance, in the same fucking blog post.

Luckily, Óscar—Lumes creator and maintainer—had a contingency plan already set for porting over Lume to Node. Once that was done, I felt like I could start working on the site properly without fear of my work having to get obsoleted in front of me.

But why not just use base HTML instead of relying on a framework or SSG that could go obsolete?

I hate default HTML.

It’s full of the very reason I didn’t like Astro, probably even more so; writing so much code that you feel like you’re actively drowning in it, most of which is boilerplate stuff like your DOCTYPEs and <head>s. I found Lume to be very different in that regard—being able to set global variables through a YAML file that can be called in any other file anywhere in the project was an insane prospect to me. I haven’t used any other SSGs before this, so I don’t know if it’s a universally sought after feature everywhere, but for me this was game-changing.

 

we're coding even stupider.

Okay, so why is this rewrite the grand success story then?
I went in with a very simple design philosophy; all content should be as easy to add as possible. This means stuff should update automatically as I add things that should be visible on one or even several parts of the site. It's by no means perfect; as it stands some components aren't completely uniform, some variables need to be changed in several parts of the file hierarchy, and to some degree I'm still learning Lume. But the internals are a LOT neater than it used to be—that is fact. I can tell you exactly where anything is at any given moment and not go "that's probably something I'm gonna fix later"—There is no need to fix anything here.

A large part of that was learning how to actually split CSS stylesheets per component without having to resort to <style>, thanks to LightningCSS's module capability that's available as a plugin for Lume. Having the Vento components in one folder with an identically named .css file in another dedicated folder is a huge boon for tidiness, and something I really wish I had committed to in my earlier web design forays. If I recall correctly, I didn't want to use that method before because I thought I'd get lost. Ironic.

I also haven't gone for anything fancy this time. The layout is a single center lane without anything but margins on the side. The mobile layout basically comes for free, and I don't have to deal with a 300 line sidebar component anymore. Sure, it's not as wacky as something you'd expect from a visual creative, but I plan to let my artwork do the talking. And if that's the case, I may as well work with something simple.

None of this is really Astro's fault. File hierarchies are largely personal, everyone does it differently. What is Astro's fault is how roundabout things are to generate content. I never understood Astro's content collections and I still don't entirely think I do. It felt so unnecessary to have to make a bunch of schemas based on regexes to get a list of all the files you need that are already placed in its own dedicated folders. What should've been an easy task to generate blog posts for an archive page became a several day excursion going back and forth between the docs and the IDE, asking my friends what the hell is going on, and once it was completed and working still didn't feel like I understood anything.

I had similar issues with how overly verbose everything had to be with stuff like page variables, imports, exports, you name it. You could chalk this up to inexperience, there's probably a great reason as to why everything needs to be so rigid there. But it's led to a bunch of unnecessary overengineering, and in the end the power just hampered progress.

A for-loop in Vento.

All of this is to say, I felt so vindicated when Lume clicked and I realized just how easy everything was to write. Need to generate content? Nest your component in a for-loop. Need the blog archive? There's a search function for it. Have a common variable that often gets called globally? _data.yml. Need to export variables to a component? Don't worry, the YAML frontmatter in the Vento file format does it automatically. Don't like Vento? Just use whatever you're used to. It's so versatile yet simultaneously easy that I feel genuinely overjoyed having gotten to use it. I've been singing it's praises to other friends of mine into web design and when I list the features they think it sounds genuinely neat and handy—dare I say cute.

I've had to make some concessions—Vento components don't take content the same way as Astro did, which I've had to work around. But it has also led me to simplify things further—the MDX dependency is gone, and I've decided to completely rely on standard Markdown instead. Since Markdown also supports YAML frontmatter by default, it intertwines with Vento's YAML frontmatter and integration so seamlessly I sometimes forget which file I'm even looking at (in a good way). This is part of why Lume feels so well structured to me—every file feels like it belongs in the hierarchy.

There's still a few hacks laying around, mostly a lot of inline CSS styling in the DOM, but honestly it's not enough to matter. It's still less cluttered than Tailwind, and it serves an actual purpose inside of the HTML it's in. I am extremely happy with where the code base is at the moment.

All of my code is available to read freely on Codeberg. This is largely a personal project and I don't recommend using the site as a template. If you need that, check out the code from the available theme templates from the Lume website, which I researched a lot when Lumes structure.

 

what's the plan then, genius?

Alright that was a lot of yapping about website development. Let's talk about what I'm actually going to use the site for, cuz I have more plans now than I did last time;

I'm actually going to link to my own art now.
Wow. Can you believe that. The artist is showing art that they made. That's insane.

Yeeeaaah, this has always been a pain point with the old website for me. I claim to be an artist on it, but there's nothing to actually show for it. This is why i also opted for the landing page format with the eyecatcher + linktree sort of deal—you actually get to know what it is you're getting from this site! On top of that, I try to actively update my "latest works" tab with whatever the latest thing I'm proud of. So there's a reason to come here and check every so often now!

I am going to write more blogposts and/or some sort of microblog.
Now you may be asking "what's the point in doing that if you're using Bluesky?"
I mostly see Bluesky as my art posting spot along with Newgrounds and not much else. While I do microblog on there every so often, it's largely for the sake of being funny. That's the way I've always seen feed based media.

Having the space to be myself feels more important to me in a place where I can reliably go back to it instead of having to trudge through the Giant Column of Posts any time I want to find an old post I made in passing. And I feel like I'm writing a lot more in general now, on top of this site being way easier to write on.

Character repository. Eventually.
I am going to move off the Google Drive, I promise. I've switched over to Toyhou.se, but it would also be nice to have a mirror on a space I own myself. I've yet to write the infrastructure for it, but I have a general idea. But that's too much work for now, so it will come later.
For now, yummypillow.art/ocs redirects to toyhou.se/aboutsection, where you can find my characters references and backstories. I hope you enjoy them!

Never do a full website rewrite ever again.
I pray I will not have to eat these words in a year. I feel really good about how everything is structured now to the point where I feel this is the one that's going to stick around. At the very least, anything new I make will be an extension of this site. This is the foundation that I'm working with.

 

i'm not sure how to end this post

The tl;dr is that the old site sucked and the new site is nice and clean and tidy and easily navigable and I like it a lot and so do my friends. That's the important part. What I plan to do with it in the future, we'll see. For now, it is an extension of my social medias and a sort of central hub for where I'm posting things. I may try to incorporate an RSS feed later if I can figure that out (I can already hear my programmer friends yelling at me) but other than that, this site is done!

I hope you enjoy the site as much as I did making it. I'm really glad that is the statement I can end the post on.

Happy holidays.

 


 

I started my previous “version” blog post from a year and a half ago talking about my long-standing issues with responsibility and procrastination. This year it's been very different. I’ve never been happier with the work I’ve put out this year. I think the biggest difference is that I’ve started to believe in my own ability to be responsible. The consequences no longer scare me, they are something I’ve began to accept as part of the process—just as I’ve started to trust the people around me to understand when something isn’t going right.

I’m thankful for my friends and commissioners who have had to deal with me losing weeks worth of being productive to seasonal depression, general tiredness, work life or just being sore from exercising—and yet still believe that I have it in me to complete the things I set out to do, even if I don't necessarily believe in myself. I’ve written more about my characters this year than I ever have in my entire life. It's been so fulfilling and I am really excited to share it with people—something I’ve always wanted to do, yet was too afraid to. I’ve torn down a lot of walls in my mental space this year, and it has made me hopeful for my work in the future. It’s something I could never have done without the support of my friends and peers.

So if you’ve read this far, thank you. Genuinely. I hope this post, this site and the work I make in the future will be a testament to my gratitude towards everyone who sees value in the things I make. It’s a big fucking responsibility and I’m gonna take it. I’m going to turn in the homework on time. It’s only right.

she tripped