fix typos in drone-hugo post
This commit is contained in:
parent
a96952188b
commit
894eb4b9dd
|
@ -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?
|
It contains a custom Go program to kick-off hugo builds. I can understand that this is useful for more
|
||||||
|
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.
|
||||||
|
|
||||||
I could have taken up the official plugin and try to make it work. The problem here is that it's a
|
It supports a metric ton of command line options for Hugo. I understand why that's important, but I
|
||||||
rather complicated piece of software for a rather simple task:
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user