Looking for a simple git-based blog system. I.E., “git push” and the stuff in the repo turns into some static content at the remote.

I’m thinking something that is triggered by a commit hook or some such, ideally turning markdown into markup, although I could deal with HTML in the repo if necessary.

Considering writing the whole thing myself but figured I’d ask just in case I don’t have to :)

Decided to give Hugo a shot, thanks for all the suggestions!

Found this tutorial that looks pretty good in case anyone else is looking for such a thing:

digitalocean.com/community/tut

@jjg It's been pretty easy to deal with so far. And being able to tweak the #golang code if necessary is a plus.

I would be dead in the water fiddling with Wordpress PHP spaghetti.

@h maybe you can help me out with something that I think might be Go-specific?

Working on the server-side of the deployment and I get:

"Error: Error copying static files: chtimes <private details>, operation not permitted" during the hugo command.

Of course it works with sudo, but that's not cool :)

I've confirmed that the user is in the right group, and that the directory permissions are cool, etc. (cp, mkdir all work) but I'm not sure what "chtimes" is trying to do?

@jjg Should be able to 'touch' though. Baffles me.

Follow

@h @jjg That's strange, as Chtimes() basically just does the same thing that touch does. Maybe the filesystem you're running the software on doesn't support utimes(2) system calls?

@vertigo @jjg

It could be a Hugo bug too, if it's fiddling with invalid timestamps for a given filesystem... but that seems highly unlikely.

@vertigo @h

I thought maybe some weird FS thing but sudo works so...had to be permissions?

Anyway I was able to work-around it by telling Hugo to stop messing with timestamps :)

@vertigo @h

...now to find a way to migrate wordpress content without agony 😂

@jjg A database export should be enough, and generate output as markdown or the usual Hugo inout format from that.
@vertigo

@jjg I would personally avoid PHP, the xmlrpc api, and plugins like the pest. A database export should suffice.

@vertigo

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!