tdelmas / website

Let's Encrypt Website and Documentation
https://letsencrypt.org
Mozilla Public License 2.0
2 stars 3 forks source link

[TEST] Uses Hugo extended to remove npm requirement for build. #26

Closed tdelmas closed 4 years ago

tdelmas commented 4 years ago

npm is still used to run tests but not mandatory anymore

tdelmas commented 4 years ago

Build fail with:

hugo -d public
Total in 11 ms
panic: invalid root mapping; from/to: assets//

on linux. Works on Windows.

Probably related to:

assetDir = "/" in config.toml

tdelmas commented 4 years ago

Apparently the lenght of the assetDir cant be <2:

https://github.com/gohugoio/hugo/blob/master/hugofs/rootmapping_fs.go#L47

So why it's working on Windows?