this post was submitted on 29 Jul 2023
19 points (100.0% liked)

AskBeehaw

1992 readers
11 users here now

An open-ended community for asking and answering various questions! Permissive of asks, AMAs, and OOTLs (out-of-the-loop) alike.

In the absence of flairs, questions requesting more thought-out answers can be marked by putting [SERIOUS] in the title.


Subcommunity of Chat


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

Time appropriate greetings, folks!

I have finally put an end to my procrastination and finally wrote my first blog post. Thing is, I still have nowhere to publish it. What stack are you all using for your personal pages, folks? I don't really want to spend a whole lot of time tinkering, but I still want some wiggle room to do so in case I change my mind down the line.

Thanks!

all 18 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago

I got tired of maintaining WordPress and PHP and so on for mine when I rarely use it, so I moved it all to Jekyll and I've been very happy with it. Jekyll is a static site generator, so I write content in Markdown and then generate the site and deploy it by copying it to the server. It's all static content so not only is it super fast, it's a lot less to worry about, security-wise.

[–] [email protected] 5 points 1 year ago (1 children)

I currently use nextjs and prismic for my CMS - while there are some nextjs themes and starters, it’ll probably require some coding (which I enjoy!). A benefit of next is that it has incremental static regeneration, so can update pages without having to rebuild the whole site.

I’ve also used Sanity on pretty much every other site I’ve built and it’s fantastic!

I’m looking at rebuilding my blog from scratch at the moment - I kind of have a whole different purpose for it now. I’m looking at Astro instead of Next, and thinking about TinaCMS over sanity - partly to try something new, partly because the speed and simplicity of Astro with a visual builder writing markdown is exciting to me!

[–] [email protected] 3 points 1 year ago

Ohh I just looked up Astro and it looks really cool. I’ll give it a go tomorrow!

[–] [email protected] 3 points 1 year ago

I currently use Hugo and publish with Sourcehut. I've been thinking of changing my stack but I've not settled on anything and I'm not sure if changing is necessarily a good idea. One thing I'd like to be able to use by switching is Tailwind.

That said, I recommend using whatever is simplest for you to use. It's easy to make your blog an experiment instead of using it as a writing tool.

[–] [email protected] 3 points 1 year ago

Wow things have moved on a lot since I had a blog on Blogspot by the sounds of it!

[–] [email protected] 3 points 1 year ago (1 children)

Does anyone know of a static site generator where I can write in Markdown and make my links to other local Markdown documents using their local file extension and the generator will translate it to the proper thing in the end? This feels like it would be the most obvious thing but neither Jekyll nor Eleventy support it. I'm getting annoyed of setting them up just to test it.

[Foo](Foo.md)

That should link to the Foo.html once generated. Not Foo.md.

[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 4 points 1 year ago

Thanks, that looks very promising. For folks following in my footsteps your next question may be how to remove front matter. Here is another plug-in.

GitHub Pages is one of those terms that is very overloaded and because of that it is super hard to find what you're looking for. I could've sworn using the old school "black box" GitHub Pages did this and it turns out it does. It has both the relative link plugin and the optional front matter pkugin.

The link above mentioned the GutHub Pages dependency list which then mentioned the github-pages gem which has all of them together. So finally I searched for "GitHub Pages docker" instead of "Jekyll docker" and lo and behold, here it is. The most recent commit is three weeks ago so it seems maintained. So finally I have a way to just simply get HTML files from some Markdown files in a simple way all in a container so I don't have to worry about how Jekyll doesn't technically support Windows.

[–] [email protected] 3 points 1 year ago

My blog is a custom Golang program for creating static HTML from markdown. Yes, there are many projects out there that already do such, but I wrote it for a few reasons. To learn more about Golang and handling HTTP connections, and parsing files to output compliant HTML. Also made it work with a Git hook for creating and updating the static website after the repo is pushed to on master. Fits my purposes :)

[–] [email protected] 3 points 1 year ago

Zola and Netlify. Highly suggest Zola! Gives me a lot more flexibility than Hugo which I enjoy a whole lot.

[–] [email protected] 3 points 1 year ago

When I rolled my own blog software I wasn’t spending my time writing. Switched to static blog software a few years ago, namely Hexo, because I wanted my articles in markdown. Now I have to troubleshoot someone else’s code occasionally.

I strongly dislike JS. But I have a lot of old school HTML/CSS experience so I don’t mind creating my own layout. It’s mostly the lack of sufficient documentation and how upgrades can break without a hint to what changed. Ug

[–] [email protected] 3 points 1 year ago

Hugo. https://gohugo.io/ No need for any moving parts. Write your blog post in MD, commit to git, git hooks will do the rest, build the site and if you are using GitHub or GitLab, even host your blog for free with their static site system. It's amazing. I highly recommend Hugo. I also highly recommend static sites for a blog. Your blog doesn't need to be a dynamic mess of potentially hackable code. Just keep it simple and fast. My website loads up faster and is more dynamic than my old WordPress site. Fewer security risks too.

[–] [email protected] 2 points 1 year ago (1 children)

I like writing in markdown so I use Hugo, and when I do a git push it gets sent to github pages (which is free as long as the repo and website is public!) There's a lot of themes so you don't have to tinker around much if you don't want to. But it's pretty easy to make some css changes / additions.

[–] [email protected] 3 points 1 year ago

Same here, but I use EleventyJS as the Markdown to HTML step.

[–] [email protected] 0 points 1 year ago (1 children)

Digital Ocean Droplet, Wordpress (with Generate Press block theme), Self-hosted Plausible Analytics for traffic stats.

[–] [email protected] 0 points 1 year ago (1 children)

I was considering this. How much does it set you back? Do you just use the £5 servers?

[–] [email protected] 3 points 1 year ago

The basic $6/month option should work. You could probably run several sites on one.