From 894eb4b9dd12917a619a661aa8003d5c299946e6 Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Wed, 11 Mar 2020 14:18:35 +0100 Subject: [PATCH] fix typos in drone-hugo post --- ...2020-03-11-drone-hugo-plugin-that-works.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/content/posts/2020-03-11-drone-hugo-plugin-that-works.md b/content/posts/2020-03-11-drone-hugo-plugin-that-works.md index d402adf..12f487f 100644 --- a/content/posts/2020-03-11-drone-hugo-plugin-that-works.md +++ b/content/posts/2020-03-11-drone-hugo-plugin-that-works.md @@ -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. At this point I noticed a few more "problems" with this plugin. - * The plugin needs to run on multiple architectures\ - * 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? +The plugin needs to run on multiple architectures, that's cool, but I'm happy with ye good 'ole amd64.\ - 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: +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. + +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 2. Run `hugo` to generate static HTML files