Use absURL to find the URL for static content such as images, CSS and JavaScript. The previous approach sometimes led to an extra slash between the domain name and the path, breaking the links. (In particular, it works when tested with hugo server, but breaks in production.) |
||
|---|---|---|
| .. | ||
| _default | ||
| partials | ||
| shortcodes | ||
| 404.html | ||
| index.html | ||