-
Notifications
You must be signed in to change notification settings - Fork 953
Closed
Labels
Milestone
Description
Hi,
I use the swaggerui shortcode on my site, with tis configuration in go.mod it works:
go 1.12
require (
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2 // indirect
github.com/google/docsy v0.7.0 // indirect
github.com/twbs/bootstrap v5.2.3+incompatible // indirect
)
But with this configuration that uses docsy v0.7.1, it produces the an error on a local run:
go 1.12
require (
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2 // indirect
github.com/google/docsy v0.7.1 // indirect
github.com/twbs/bootstrap v5.2.3+incompatible // indirect
)
Here is the error:
developer-site-1 | hugo: downloading modules …
developer-site-1 | hugo: collected modules in 16817 ms
developer-site-1 | Start building sites …
developer-site-1 | hugo v0.111.3-5d4eb5154e1fed125ca8e9b5a0315c4180dab192+extended linux/amd64 BuildDate=2023-03-12T11:40:50Z VendorInfo=hugoguru
developer-site-1 | ERROR 2023/10/10 10:45:51 "/tmp/modules/filecache/modules/pkg/mod/github.com/google/[email protected]/layouts/swagger/list.html:8:1": parse failed: template: swagger/list.html:8: bad character U+002D '-'
developer-site-1 | ERROR 2023/10/10 10:45:51 "/tmp/modules/filecache/modules/pkg/mod/github.com/google/[email protected]/layouts/swagger/list.html:8:1": parse failed: template: swagger/list.html:8: bad character U+002D '-'
developer-site-1 | Built in 1376 ms
developer-site-1 | Error: Error building site: "/tmp/modules/filecache/modules/pkg/mod/github.com/google/[email protected]/layouts/swagger/list.html:8:1": parse failed: template: swagger/list.html:8: bad character U+002D '-'
developer-site-1 exited with code 255