summaryrefslogtreecommitdiff
path: root/content/posts/hugo-extended-centos-7/index.md
blob: fd6a6eb75da1174b9b44c6740585a8e89f175ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
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/
author: "Christoph Cullmann"
---

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