How to set up a blog with Git, Hugo and Cloudflare

Started by rcjordan, February 19, 2022, 06:28:52 PM

Previous topic - Next topic

rcjordan


ergophobe

I've always wanted to fall in love with systems like this, but at the end of the day, I enjoy two things about websites
- mucking with code and such
- writing

The thing is, I want them to be separate activities. So when I see that all I need to do in order to add an image to my Hugo page is

irst, find some images that you want to use in the post, and move them to the folder where Hugo expects images to live, i.e. static/images.

mv ~/Downloads/sloth.jpg static/images/greatsloth1.jpg
mv ~/Downloads/bear.jpg static/images/greatsloth2.jpg


And then all I have to do is create and write a post, like so:
---
title: "This was a great sloth"
date: 2022-02-13T11:03:27-06:00
draft: false
image: greatsloth1.jpg
tags:
  - sloth
  - bear
---


Ha ha! No thanks. There is a reason that Wordpress is more popular than Hugo. I am willing to pay all sorts of performance and security penalties to not have to remember the syntax for giving my blog post a title.