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

Update hugo render-image script #92

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Update hugo render-image script #92

merged 1 commit into from
Nov 15, 2022

Conversation

Summon528
Copy link
Contributor

Use path.Join so that it will render correctly on Windows
(path.Join will convert Windows backslash to forward slash)

@dreamworld
Copy link

Encountered the same problem on Windows due to .File.Dir output

https://gohugo.io/variables/files/

Note that the path separator (\ or /) could be dependent on the operating system.

@zoni
Copy link
Owner

zoni commented Nov 15, 2022

Thank you for this!

@zoni zoni merged commit c5ba5b7 into zoni:main Nov 15, 2022
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

Successfully merging this pull request may close these issues.

3 participants