I am using All inOne theme with Hugo. Repo: https://gitlab.com/rootkea/rootkea.gitlab.io
Whenever I try to push to the repo the Gitlab job fails with the following log:
Cloning repository... Cloning into '/builds/rootkea/rootkea.gitlab.io'... Checking out 6d8dc6f1 as master... Skipping Git submodules setup $ hugo Building sites … Total in 36 ms Error: Error building site: "/builds/rootkea/rootkea.gitlab.io/content/blog/2018-01/mac小白探索记1-基本设置与常用软件.md:45:5": failed to extract shortcode: template for shortcode "center" not found ERROR: Job failed: exit code 255
It complains about missing center shortcode but I can see center.html in themes/AllinOne/layouts/shortcodes/ What am I missing?
BTW, the build gets completed successfully on local machine. So I’m guessing it’s either a version issue or an incorrect Gitlab configuration.