Skip to content

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