When I generate from a markdown file with this content:
{{< swagger-spec url="../api.yaml" >}}
The generated index.html script tag does not have the correct relative path for the swagger-ui js files. I set the baseUrl on the build by running:
hugo -b="http://localhost/pages/"
Firstly - thanks for the shortcode.
When I generate from a markdown file with this content: {{< swagger-spec url="../api.yaml" >}}
The generated index.html script tag does not have the correct relative path for the swagger-ui js files. I set the baseUrl on the build by running: hugo -b="http://localhost/pages/"
This generates a script tag like :
When it should be :
All other links apply this correctly.