When I generate the website using `hugo server` (see also `public` directory for output using `hugo`)Īnd I visit the example post Then I can see that the image reference using `/example.jpg` does not work Given my base URL (`config.toml`) is - which is an URL that includes a pathĪnd my config.toml file includes `canonifyurls = true`Īnd I have an image `example.jpg` in my `static` directoryĪnd I reference the image in my markdown file using `!(/example.jpg)`Īnd I reference the image in my markdown file using `!(example.jpg)`Īnd I reference the image in my markdown file using `!(/blog/example.jpg)`Īnd I reference the image in my markdown file using `!(blog/example.jpg)` Hugo Static Site Generator v0.79.0-1415EFDC windows/amd64 BuildDate: ĭoes this issue reproduce with the latest release? And I build my site using hugo or hugo serverīut links to static resources only start with " Lower Level descriptionĪnd I have a markdown file content/posts/my-first-post.mdĪnd I have an image under static/images/my-image.jpgĪnd the markdown file contains a link like this: !(/images/my-image.jpg)īut the image src attribute should read What version of Hugo are you using ( hugo version)? $ hugo version
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |