summaryrefslogtreecommitdiff
path: root/content/post/hugo-extended-centos-7.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/post/hugo-extended-centos-7.md')
-rw-r--r--content/post/hugo-extended-centos-7.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/content/post/hugo-extended-centos-7.md b/content/post/hugo-extended-centos-7.md
new file mode 100644
index 0000000..f570664
--- /dev/null
+++ b/content/post/hugo-extended-centos-7.md
@@ -0,0 +1,25 @@
+---
+title: "Hugo Extended on CentOS 7"
+date: 2019-04-06T22:55:00+02:00
+draft: false
+categories: [www]
+tags: [hugo, centos]
+url: /posts/hugo-extended-centos-7/
+---
+
+After first using the Hermit theme, I moved to the Hugo Coder theme to have a nicer front page and menu at the top.
+
+Unfortunately that needs Hugo in the "extended" version.
+
+The binary one can download on https://github.com/gohugoio/hugo/releases doesn't run on CentOS 7, unlike the normal variant you get there (too new libstdc++ needed).
+
+One has to recompile it to get that working.
+
+To make it easier for others, to do so, just:
+
+* install golang + gcc-c++ on your CentOS 7
+* download https://github.com/gohugoio/hugo/archive/v0.54.0.tar.gz
+* execute in the source directory `go install -tags extended`
+* grab the result binary in your ~/go directory
+
+If you need a pre-compiled one, on your own risk, use the one in my git, https://github.com/christoph-cullmann/cullmann.io.