Live data from Hacker News

How to Start Your Blog in 2023

molodtsov.me

241–250 of 257 posts

Re: How to Start Your Blog in 2023

#241

Earlier quoted context omitted.

oops Sorry about that. I just purchased the domain and stuck it there then promptly fell asleep. I'll remove it for now and then route it to a bearclaw page when I get done working tonight.

Figured something like that. And also for the md files. Just straight up content in there and no frontmatter or anything right? (May not even be a thing for md files, not sure)

Essentially what's happening is it takes your markdown content then converts it to HTML, then it puts the header above and the footer below. Those are held in `./templates` if you want to modify them. You don't have to include anything in your markdown other than the content, if I'm understanding your question correctly.

Also, one thing I'd like to sort out is making the page titles on the pages.html page that it generates not be based on the filename, but on the title of the article so-you-dont-see-stuff-like-this on pages.html.

As of yesterday since I added config variables, I'd like to relocate those to an external file to avoid recompile, and then use those to populate the header so that people don't take time to fill in the config and then still get "Bearclaw Blog" when they fire it up.

I really appreciate the time you're taking to talk this out with me, it's very inspiring and I'm getting lots of ideas. I can't wait to get done with Job 2 today so I can hammer out some of these things :) Thank you

Re: How to Start Your Blog in 2023

#242

Earlier quoted context omitted.

Figured something like that. And also for the md files. Just straight up content in there and no frontmatter or anything right? (May not even be a thing for md files, not sure)

Essentially what's happening is it takes your markdown content then converts it to HTML, then it puts the header above and the footer below. Those are held in `./templates` if you want to modify them. You don't have to include anything in your markdown other than the content, if I'm understanding your question correctly. Also, one thing I'd like to sort out is making the page titles on the pages.html page that it gen…

Great info, thanks! Glad you appreciate the feedback. The simplicity of it is very attractive to me.

Re: How to Start Your Blog in 2023

#243
post #95

Earlier quoted context omitted.

Well, true, but: 1. You might want to resize image if it's a photo 2. You might prefer a CMS to a plain code editor and then you need to use its uploader (both Forestry and NetlifyCMS aren't very seamless) 3. Try doing that on mobile And don't get me wrong, I use Hugo as well.

Netlify CMS is dead[1] after the core dev left the company, Forestry is also officially dead as of April this year. Netlify CMS got forked into StaticCMS and the team behind Forestry have created TinaCMS. After experimenting with both last week, I recommend the latter if you're building a blog with Astro and want a Git based CMS. [1] https://answers.netlify.com/t/is-this-project-dead/70988

Forestry/Tina founder here. Just want to say thanks for the shout out. So many good points in this thread.

Re: How to Start Your Blog in 2023

#244

Earlier quoted context omitted.

Just gave it a (very) quick look > a static site is a site with no fancy clicky things, signups, comments, just plain html Technically I think you can have comments via some embedded widget. Each page is still static, but there's a script tag in there that embeds a widget into the page that gives you commenting, usually via some SaaS I think Disqus was the big one for a while. There was one I saw recently that uses g…

I have now added plugin support. This week I will write some sample plugins and then make a gallery for people to see them. Thanks for the inspiration!

The first sample plugin is complete, along with the handling for it during build time :) I'll add the gallery tomorrow!

Re: How to Start Your Blog in 2023

#245

Earlier quoted context omitted.

Essentially what's happening is it takes your markdown content then converts it to HTML, then it puts the header above and the footer below. Those are held in `./templates` if you want to modify them. You don't have to include anything in your markdown other than the content, if I'm understanding your question correctly. Also, one thing I'd like to sort out is making the page titles on the pages.html page that it gen…

Great info, thanks! Glad you appreciate the feedback. The simplicity of it is very attractive to me.

Thanks! I ask myself often when I have ideas if it will maintain the simplicity or make it less out of reach for regular people. Please do let me know if you end up making a blog with it. It'd be cool if I could put a list of examples in the readme so that people can see what others have done with their bearclaw blogs

Re: How to Start Your Blog in 2023

#246
post #123

Earlier quoted context omitted.

There's so many better options better than .com (commercial) .net .org .me .io .blog .info You can make it topical too .expert .engineer .doctor .camera .software Or have fun with it .lol .wtf .foo

Lots of good options, but what in your opinion would make .net or .org a better choice than .com ? While perhaps not as pervasive as during the 1990s, I still feel like most people are more familiar with / assume / default to ".com" than any of the others.

In some ways, having one of the weird TLDs can serve as a filter to keep out less-technical users who assume .com is the only TLD.

Re: How to Start Your Blog in 2023

#248
couldn't agree more with the section about Ghost, their shifted focus is something I've picked up on recently too [0]. I started to dislike their interface more and more when creating/editing posts. Couple that with the regular "your theme is no longer supported" messages, I got fed up of burning time to keep up with their updates, which offered no benefits to me. I quit and moved to Hugo (using a ghost-to-hugo migration tool [1]).

[0] https://ryansouthgate.com/goodbye-ghost-hello-hugo/#im-no-lo...

[1] https://github.com/jbarone/ghostToHugo

Re: How to Start Your Blog in 2023

#249

1. What you use or wherever you host, make sure that you can export your content in either plain text or a universal format that can be used by another tool or host it yourself. In short, own the content and use whatever tool it fits your current situations and limitations. 2. Possibly, try to get a domain of your own, and preferably a `.com`. Point that to whichever server you use (if they don't allow you to point,…

Seems like the biggest limiting factor for Hugo, Jekyll, and other SSGs is the need for a CDN for most images. Are there any free CDN services that are worthwhile?

Re: How to Start Your Blog in 2023

#250
post #22

no need just write stop using tools, just an HTML document is fine.

Html does work, but can become a pain once you have a few dozen pages and want to maintain a consistent menu and footer and so on.

search and replace! Seriously, it's way easier than the node.js monstrosity I was maintaining
Post reply on HN