Live data from Hacker News

Blog with Markdown and Git, and degrade gracefully through time

brandur.org

181–182 of 182 posts

Re: Blog with Markdown and Git, and degrade gracefully through time

#181
post #180

Earlier quoted context omitted.

Agreed, if you stick with the twenty* themes and keep it simple, you can get pretty far with very little maintenance. For simple sites, especially where we don't do comments, I've started using Simply Static though to just generate pre-rendered pages. All the benefits of static site builder with all the conveniences of a CMS.

I've had it on my TODO-list to try out that plugin, thanks for reminding me! How many sites have you tested it on, have you had any issues? I'm gonna play around with it now but what I'm mostly concerned about now is how you manage the site if you point the web server to the static directory. I made a prototype at one point where you have your actual WP site in a subdirectory, like example.com/wordpress, which is IP…

If you happen to ever read this, I ended up with a setup similar to the hacky one I did before:

- WP moved to subdirectory (WP home and siteurl changed in DB)

- Static site served normally from (and generated to) webroot

Just needed to add sitemaps and robots.txt to the config to be included. Workflow is super smooth. Login to example.com/wordpress/wp-admin/, view your changes at example.com/wordpress and when you're happy, publish the site through the plugin.

Curious to see what kinds of issues I might be running into later on (this was just a quick test).

Re: Blog with Markdown and Git, and degrade gracefully through time

#182

IMO the biggest barrier to blogging (and the cause of most blogs dying) is inconvenience, and minimizing that if the biggest advantage of Markdown + Git. If there's any inconvenience at all, it naturally drags on the process of writing, and writing takes enough time and focus that if there's any friction it's too easy to push things off to the next day. My co-author and I use Markdown and Git as the author suggests,…

Any suggestions for static site generators / where to host? I'm thinking about starting a new blog with Hugo / Digital Ocean. I have a popular Spark blog on Wordpress ( https://mungingdata.com/ ) and can relate to your sentiment that any inconvenience can hold up the writing process. Your post is motivating me to streamline my publishing process.

Netlify is great, I was on GitHub Pages and Neocities before, but after I got my own domain, moving the site to Netlify was a matter of minutes.
Post reply on HN