-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Changes in Hugo configuration with newer Hugo version #394
Comments
See also #312 |
Same on my local (Fedora) machine. However, on the Debian server we still have: hugo 0.80.0-6+b5 |
According to @echoix in #312 (comment):
we may simply switch to "goldmark" which would also be supported in Debian's oldish hugo 0.80.0-6+b5? |
I've been checking old hugo tags and goldmark updates appear as far as v0.65... so, it should be fine with v0.80, I guess. In any case, is it possible to update hugo in the server? |
We are on Debian "bullseye" which offers hugo 0.80.0-6+b5. According to https://packages.debian.org/search?keywords=hugo:
|
Hugo is a go binary, which are fully statically compiled (and single file). You could download the binary from a release, or if go is available on the system, The issue of having the old version on the server could be avoided like that. The more appropriate solution, that we don't seem ready yet, would be to do like what a hosting should be like, to compile on one side, and then deploy the site (content) afterwards to the hosting server. |
For a test, I have compiled and installed go and then a fresh hugo version:
Locally on the server I have changed the renderer to "goldmark", but it won't build the site:
This requires a PR (volunteers?). For now I have re-installed hugo 0.80 to keep the site running. |
I get the same error in my local tests, but the
that @petrasovaa suggested in #394 (comment) solved it, and it compiles without errors. So, that's how I use it locally to test changes. |
I have now Hugo 0.110.0 and I had to do these changes to run hugo and display images:
The text was updated successfully, but these errors were encountered: