Live data from Hacker News

How to start a blog using Hugo

flaviocopes.com

81–90 of 111 posts

Re: How to start a blog using Hugo

#81
I moved from WordPress to Hugo last year and dont regret it. If you search for some configuration examples for multi-language blogs and some shortcodes for image generation and so on, feel free to check out the blog post about it. https://blog.kovah.de/en/2019/static-blog-with-hugo/ Source is available on Github: https://github.com/Kovah/blog.kovah.de

Re: How to start a blog using Hugo

#82
post #28

The author seems adamant that blog.domain.com is a worse setup than domain.com/blog - I've seen this argument go back and forth a lot, with both sides claiming advantages and disadvantages. I am interested to hear the consensus from HN users as to which is better, and why.

It's not a matter of one being objectively better than the other but which suits your needs. The basic distinction, from a purely SEO perspective, is that blog.domain.com will be treated as its own entity whereas domain.com/blog will be treated as part of the main domain.com entity. The question you have to ask yourself is whether you want to bolster the "value" of your main domain or if you want your blog to be an a…

Objectively better for SEO - and in particular if this isn’t a personal blog, but say a marketing site for your SAAS and then an accompanying blog. Having them in separate domains with very similar content hurts you

This has been fairly well beaten into the ground at this point.

Re: How to start a blog using Hugo

#83
post #56

There is no lack of technical choices when it comes to starting a blog. I can start five blogs in the next 30 minutes, each one on a different platform/infrastructure. What I do lack is something interesting to write about, in a consistent manner. I have been writing code for a long time. I did build some interesting stuff. I'm currently working on a startup that does use some blog-worthy tech: any attempt ends up wi…

My most popular blog post was 'deWiTTERS game loop', which ended up with plenty of links referring to it, including the "game programming patterns" book.

I wrote it because there was nothing else like it.

So if you're researching something, but have to combine various sources and figuring out stuff, because there is no easy blog post, write that easy blog post yourself.

Re: How to start a blog using Hugo

#87
post #59

Is there a web-based editor that can be used together with these static site generators? This editor should be small, self-contained and secure and could be located in a separate access-restricted area of the site.

Netlify CMS has been impressive for me set and customize.

I just wish these static sites has a smooth way to do image layouts (crop, resize, layout and picset generation). I'd give up MD for that, html+emmet is basically just as simple as markdown.

* edit as for access, I gitlab pages host the static site and leave gitlab to handle the netlify cms auth part.

Re: How to start a blog using Hugo

#88

I recently moved my blog over from Wordpress to Hugo. I think it must be a lot easier to start out from scratch than to migrate something existing; some parts of Hugo are substantially less than straightforward. I certainly don't regret the move - much happier having a static site than WP in place - but some of this is much more complex than I had hoped it would be. Amongst other issues; * error messages can be extre…

I like to blog to provide an online presence, but blogging for me is not that important. I cannot justify spending time in configuring and troubleshooting static site generators. I like WordPress because you can get it to work within minutes and all I have to worry about is writing content and coming up with ideas. I have a self-hosted WP instance, which conducts regular backups, and uses Let's Encrypt and auto renews monthly which I check on every 2 or 3 months to ensure everything is running correctly.

Re: How to start a blog using Hugo

#89

The author seems adamant that blog.domain.com is a worse setup than domain.com/blog - I've seen this argument go back and forth a lot, with both sides claiming advantages and disadvantages. I am interested to hear the consensus from HN users as to which is better, and why.

how about domain.blog?

Re: How to start a blog using Hugo

#90
post #76
post #72

Earlier quoted context omitted.

[in my opinion] Don't write to be read. Write for you, write because you enjoy the process and the exposition helps you process and crystallise a concept. Write because you are interested and engaged.

But then why blog? Why not just journal in a notebook or on your "notes" app and be done?

Absolutely journal privately... then, curate journal entries into blog posts. Information wants to be free.
Post reply on HN