News for hackers. Stuff that matters.
Re:How to start a blog using Hugo by Moru on Tuesday January 07, 2020 @05:43AM (#21978752)
I decided I would make a static site the old fashioned way on neocities.org and happily got started. And then I remembered all the double work you have to do linking and making lists and repeating headers/footers (or use frames) and so on. Now I'm back to looking for some simple script that can output static sites without having to spend a month learning a new tool...
Re:How to start a blog using Hugo by japanoise on Tuesday January 07, 2020 @07:38AM (#21979363)
It's a mess, and evokes abject horror in some people, but I'll continue to defend the merit of just writing a shell script. I moved it to hugo years ago (ironically) but my old site worked like that: https://github.com/japanoise/website/blob/cdf728d4ebea75cbc9...

It's not pretty to look at, but it can be read, understood, and maintained by one person.

Re:How to start a blog using Hugo by Moru on Tuesday January 07, 2020 @07:49AM (#21979436)
I'm pretty sure my problem with everything I tried so far was that it wasn't me building it so I guess I just have to make some simple script to do it for me some day.
Re:How to start a blog using Hugo by sequoia on Tuesday January 07, 2020 @10:36AM (#21980903)
+1 to japanoise's suggestion to write your own static blog script. Here's mine, which I initially wrote several years ago after evaluating & having issues with many other options: https://github.com/Sequoia/sequoia.github.com/blob/rewrite/s...

I recently evaluated migrating to Hugo to ditch my hastily written script & use a 'robust, mature' tool. I wanted to add an RSS feed and figured "why work more on my one off script, I could use a pre-built solution!" But migrating was indeed a pain in the butt, and it quickly became clear that writing a function to output an RSS feed was much faster than doing everything I needed to migrate.

Static blogs are very simple, and performance doesn't matter that much for all but the most prolific authors, and you can improve performance if needed. Write your own script!

Re:How to start a blog using Hugo by e12e on Tuesday January 07, 2020 @03:07PM (#21984211)
I'm not sure if I'd call it sound advice - but there's not much stopping you from building a site based around (client side) Javascript these days. Maybe a markdown parser in js, some json (js) data files (à "database") - etc.

Basically a variant of how:

https://tiddlywiki.com/

works. Or:

https://chrisdiana.dev/cms.js/

In a similar vein (but not solely client hosted and managed) there's:

https://vuelog.js.org/#/page/about

https://www.gatsbyjs.org/

If all you need is a blog, it's really just a bit of navigation you need js/<some program> to help with. And you can of course add things like commenting as a SaaS that's essentially just an imported cross side scripting attack on yourself, much like with visitor tracking via Google analytics etc. See for example muut.com for comments.

Re:How to start a blog using Hugo by jjjbokma on Tuesday January 07, 2020 @06:10AM (#21978888)
Hmmm... maybe tumblelog [0]. Comes in both a Python and a Perl version (as a single script). Demo site: https://plurrrr.com/

[0] https://github.com/john-bokma/tumblelog

Re:How to start a blog using Hugo by nkrisc on Tuesday January 07, 2020 @06:45AM (#21979065)
I tried a few about four years back, when I had much less web dev experience than I do today (not a professional developer). I found Jekyll to be the easiest for me. Just powerful enough to make pretty much any static site I could think of, but easy enough that even I could do it. Hosting was easy too, at the time I just FTPd everything to my provider, but I now o use rsync.
Re:How to start a blog using Hugo by bovermyer on Tuesday January 07, 2020 @07:12AM (#21979202)
I have a site like that on Tilde Town. It's much smaller than my blogs or other sites, though, so managing links and repeating code is not that big of a deal.