Author Topic: How to set up a blog with Git, Hugo and Cloudflare  (Read 1490 times)

rcjordan

  • I'm consulting the authorities on the subject
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16401
  • Debbie says...
    • View Profile

ergophobe

  • Inner Core
  • Hero Member
  • *
  • Posts: 9315
    • View Profile
Re: How to set up a blog with Git, Hugo and Cloudflare
« Reply #1 on: February 20, 2022, 05:20:50 PM »
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
Code: [Select]
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:
Code: [Select]
---
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.