Michealtheratz

Some nerd who likes computers and stuff :-)

So I rewrote my site... again

As the title states, I entirely rewrote my site from the ground up. I had done this 2 other times for diffrent reasons, but those other times I used html with some css and javascript. This time I chose to use a Static site generator called 11ty.

A static site generator?

If you haven't heard of a static site generator (or SSG), it's basicly a program that generates sites from templates. You basicly define a template (or use an existing one) and just write your content in something like markdown. It's supposted to help make the creation of websites simpler and allows you to set up things like blogs easier. That means less copying and pasting html everywhere (which can get messy and compilcated when you change something drastic like your site's layout).

But why?

One thing is that my website doesn't have the best code. It's a hodge podge of tailwind, css, Jquery, and vanilla JS. This is a chance to simpilfy my website's code by removing some bloat. I also wanted to learn something new. I had heard a lot of great things about 11ty and SSGs in general and thought about how it would help me with web development greatly. A lot of things on my old site are generated with Javascript (like my blog) which makes it not really archiveable. So being able to do all in advanced when generating the html is very helpful.

Next steps

TBH I don't really know. I will just try to improve and build off of this. Maybe learn some new things about 11ty. Whatever the future has for me I guess.

blinkies.cafe | make your own blinkies! click for free GIFs from ARG! 88x31 button boxy trademarkization company of 2003