fix typos in drone-hugo post

This commit is contained in:
Ariejan de Vroom 2020-03-11 14:18:35 +01:00
parent a96952188b
commit 894eb4b9dd

View File

@ -49,14 +49,19 @@ There's an official Hugo plugin for drone, but it has two problems:
As a good open source citizen, I opened up [the code][drone-hugo-plugin] and took a look around. As a good open source citizen, I opened up [the code][drone-hugo-plugin] and took a look around.
At this point I noticed a few more "problems" with this plugin. At this point I noticed a few more "problems" with this plugin.
* The plugin needs to run on multiple architectures\ The plugin needs to run on multiple architectures, that's cool, but I'm happy with ye good 'ole amd64.\
* It contains a custom Go program to kick-off hugo builds
* It supports a metric ton of command line options for Hugo
## Can I do better?
I could have taken up the official plugin and try to make it work. The problem here is that it's a It contains a custom Go program to kick-off hugo builds. I can understand that this is useful for more
rather complicated piece of software for a rather simple task: complex plugins or plugins that are easier written in go because of available libraries. However,
all this plugin needs to do is install Hugo and run it.
It supports a metric ton of command line options for Hugo. I understand why that's important, but I
have no use for any of them.
## Can I do better?
I could have taken up the official plugin and try to make it work. The problem here is that it's a
rather complicated piece of software for a rather simple task:
1. Download the specified versio of Hugo 1. Download the specified versio of Hugo
2. Run `hugo` to generate static HTML files 2. Run `hugo` to generate static HTML files