I use Hugo version 0.31.1 on my computer. In the theme.toml have I have the entry min_version = “0.31.1”.
After the upload, I get the following error message:
Running with gitlab-runner 10.2.0 (0a75cdd1)
on docker-auto-scale (e11ae361)
Using Docker executor with image registry.gitlab.com/pages/hugo:latest …
Using docker image sha256:16fa044f8d71e00e84b1df17b63db360d4e8ba21350eb37d30863169977199a3 for predefined container…
Pulling docker image registry.gitlab.com/pages/hugo:latest …
Using docker image registry.gitlab.com/pages/hugo:latest ID=sha256:506b0423b32ad590732f6eae7a578a89c7868077b8fbc60ce784e97a6820e8c0 for build container…
Running on runner-e11ae361-project-4854203-concurrent-0 via runner-e11ae361-srm-1512939261-26f8b46d…
Cloning repository…
Cloning into ‘/builds/joklein/hugo’…
Checking out 9df8feb9 as master…
Skipping Git submodules setup
$ hugo
ERROR 2017/12/10 20:56:01 Current theme does not support Hugo version 0.30.2. Minimum version required is 0.31.1
Started building sites …
Built site for language en:
0 draft content
0 future content
0 expired content
6 regular pages created
28 other pages created
0 non-page files copied
0 paginator pages created
6 tags created
3 categories created
total in 24 ms
ERROR: Job failed: exit code 255
Then I have set the theme.toml to min_Version 0.30.2. With this version, the page is created on Gitlab. Unfortunately, this page is displayed differently than on my computer.
On Gitlab the Page content is created with the content in content/index.md. On my computer with the Hugo version 0.31.1 the list page is displayed as Home page.
As a third attempt I deleted the line min_version = “0.30.2”. Now the List page will be displayed on Gitlab.
Here my questions:
- How important is the line min_version = “x.x.x”?
- Is the Docker image too old?
- Why does not Hugo use version 0.31.1. the /content/index.md to display the home page?
- How can I solve this problem.
- How do I update Hugo in the future (new versions of Hugo)?
My repo is public https://gitlab.com/joklein/hugo
Thank you for the help