[PostGIS] #6125: Document hugo version requirements for website building
PostGIS
trac at osgeo.org
Fri Sep 4 00:16:59 PDT 2026
#6125: Document hugo version requirements for website building
---------------------+--------------------------------------
Reporter: strk | Owner: robe
Type: defect | Status: new
Priority: medium | Milestone: Website Management, Bots
Component: website | Version:
Keywords: |
---------------------+--------------------------------------
Hugo v0.123.7 is unable to build the website:
{{{
$ hugo version
hugo v0.123.7+extended linux/amd64 BuildDate=2025-07-18T03:41:49Z
VendorInfo=ubuntu:0.123.7-1ubuntu0.3
$ hugo serve
hugo serve
Watching for changes in
/usr/local/src/postgis/postgis.net/{archetypes,content,data,layouts,static,themes}
Watching for config changes in
/usr/local/src/postgis/postgis.net/config.toml
Start building sites …
hugo v0.123.7+extended linux/amd64 BuildDate=2025-07-18T03:41:49Z
VendorInfo=ubuntu:0.123.7-1ubuntu0.3
ERROR render of "home" failed: "/usr/local/src/postgis/postgis.net/themes
/hugo-geekdoc/layouts/_default/baseof.html:20:7": execute of template
failed: template: home.html:20:7: executing "home.html" at <partial
"head/others" .>: error calling partial:
"/usr/local/src/postgis/postgis.net/layouts/partials/head/others.html:2:31":
execute of template failed: template: partials/head/others.html:2:31:
executing "partials/head/others.html" at <hugo>: can't evaluate field Data
in type interface {}
ERROR render of "section" failed:
"/usr/local/src/postgis/postgis.net/themes/hugo-
geekdoc/layouts/_default/baseof.html:20:7": execute of template failed:
template: _default/toplevel.html:20:7: executing "_default/toplevel.html"
at <partial "head/others" .>: error calling partial:
"/usr/local/src/postgis/postgis.net/layouts/partials/head/others.html:2:31":
execute of template failed: template: partials/head/others.html:2:31:
executing "partials/head/others.html" at <hugo>: can't evaluate field Data
in type interface {}
ERROR render of "page" failed: "/usr/local/src/postgis/postgis.net/themes
/hugo-geekdoc/layouts/_default/baseof.html:20:7": execute of template
failed: template: _default/single.html:20:7: executing
"_default/single.html" at <partial "head/others" .>: error calling
partial:
"/usr/local/src/postgis/postgis.net/layouts/partials/head/others.html:2:31":
execute of template failed: template: partials/head/others.html:2:31:
executing "partials/head/others.html" at <hugo>: can't evaluate field Data
in type interface {}
Built in 584 ms
Error: error building site: render: failed to render pages: render of
"404" failed: "/usr/local/src/postgis/postgis.net/themes/hugo-
geekdoc/layouts/404.html:8:7": execute of template failed: template:
404.html:8:7: executing "404.html" at <partial "head/others" .>: error
calling partial:
"/usr/local/src/postgis/postgis.net/layouts/partials/head/others.html:2:31":
execute of template failed: template: partials/head/others.html:2:31:
executing "partials/head/others.html" at <hugo>: can't evaluate field Data
in type interface {}
}}}
It would be useful to document the minimum (or maximum?) required Hugo
version to reduce the frustration.
Maybe even have the Makefile check for the deps.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6125>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list