camunda-bpm-platform icon indicating copy to clipboard operation
camunda-bpm-platform copied to clipboard

Considerations of Hugo updates

Open ThorbenLindhauer opened this issue 5 years ago • 1 comments

This issue was imported from JIRA:

Field Value
JIRA Link CAM-11265
Reporter @yanavasileva
Has restricted visibility comments false

Current Hugo version used in our CI: 54.0 List of versions of Hugo that might cause higher cost of migration efforts:

  • v 61.0:
    • warnings during the build of docs-manual:
Building sites ... WARN 2020/01/13 16:19:15 Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.
Building sites ... WARN 2020/01/13 16:47:10 Page.RSSLink is deprecated and will be removed in a future release. Use the Output Format's link, e.g. something like:
    ` with .OutputFormats.Get "RSS" `` .RelPermalink `` end `
WARN 2020/01/13 16:47:10 Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.

Links:

ThorbenLindhauer avatar Jan 13 '20 16:01 ThorbenLindhauer

Issues with v.0.122.0 version:

Output snippet
ERROR render of "home" failed: "/xxx/camunda-docs-static/security/layouts/index.html:1:3": execute of template failed: template: index.html:1:3: executing "index.html" at <partial "header.html" .>: error calling partial: "/xxx/camunda-docs-static/security/themes/camunda/layouts/partials/header.html:31:46": execute of template failed: template: partials/header.html:31:46: executing "partials/header.html" at <.Hugo.Version>: can't evaluate field Hugo in type *hugolib.pageState
ERROR render of "page" failed: "/xxx/camunda-docs-static/security/themes/camunda/layouts/_default/single.html:1:3": execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "header.html" .>: error calling partial: "/xxx/camunda-docs-static/security/themes/camunda/layouts/partials/header.html:31:46": execute of template failed: template: partials/header.html:31:46: executing "partials/header.html" at <.Hugo.Version>: can't evaluate field Hugo in type *hugolib.pageState
Total in 56 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/xxx/camunda-docs-static/security/themes/camunda/layouts/_default/single.html:1:3": execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "header.html" .>: error calling partial: "/xxx/camunda-docs-static/security/themes/camunda/layouts/partials/header.html:31:46": execute of template failed: template: partials/header.html:31:46: executing "partials/header.html" at <.Hugo.Version>: can't evaluate field Hugo in type *hugolib.pageState

yanavasileva avatar Feb 05 '24 08:02 yanavasileva