Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent hugo version requirements for building html in README #709

Open
tnbde opened this issue Dec 28, 2024 · 2 comments
Open

Inconsistent hugo version requirements for building html in README #709

tnbde opened this issue Dec 28, 2024 · 2 comments

Comments

@tnbde
Copy link
Contributor

tnbde commented Dec 28, 2024

Hello everyone,
I tried to get the dtdocs-website running locally as described in the readme. But building the html site using hugo produces the following error:

$ hugo server -D --disableFastRender
Error: add site dependencies: load resources: loading templates: 
"dtdocs/themes/hugo-darktable-docs-theme/layouts/partials/css.html:4:1": 
parse failed: template: partials/css.html:4: function "css" not defined

Note: running the server for building the PDF works fine.

This was done using versions 0.75.1/extended and v0.73.0/extended, as mentioned in the current readme section. There is a typo in the readme, since v0.75.1 is mentioned in the text body and v0.73.0 in the code block or it is outdated:

Commit 4d1b7c6 implies, that newer hugo version(s) are supported now.
Hence I tried again using release of the extended version v0.139.4, which got the server running for me.

So the readme may be outdated, but I am not sure about the minimal required version for hugo: Atleast v0.139.4 seems to be working.

@paperdigits
Copy link
Contributor

paperdigits commented Dec 28, 2024 via email

@tnbde
Copy link
Contributor Author

tnbde commented Dec 29, 2024

Thanks for the info! I provided a short PR that clarifies the readme, see #710

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants