Open blogdemoi opened 3 years ago
Hi,
I would like to use your theme but when testing on my computer there are no images showing in my posts. All my images are in a static folder and I insert them with: ![sons xxx](/blog/wxxxxx.jpg)
![sons xxx](/blog/wxxxxx.jpg)
What could be wrong?
My config.toml is:
baseURL = 'https://xxxx.org/blog/' languageCode = 'en-us' title = 'Mon blog' author = "xxxx" canonifyurls = true languagecode = "en" theme = "hugo-tanka" enableEmoji = true hasCJKLanguage = false pygmentsstyle = "vs" pygmentscodefences = true ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_cache$", "\\.knit\\.md$", "\\.utf8\\.md$"] [params] sitename = "Hugo Tanka Theme" faviconfile = "images/favicon.png" highlightjs = true highlightjslanguages = ["r", "python", "stan"] uselatex = true progressively = false # commentsrepo = "user/repo" [markup] [markup.goldmark] [markup.goldmark.renderer] unsafe = true [[menu.primary]] name = "Home" url = "/" weight = 1 [[menu.primary]] name = "About" url = "/about/" weight = 2 [[menu.primary]] name = "GitHub" url = "https://github.com/nanxstats" weight = 3 [[menu.primary]] name = "Twitter" url = "https://twitter.com/nanxstats" weight = 4 [[menu.primary]] name = "Subscribe" url = "/index.xml" weight = 5
Thank you.
So let's say the image path is static/image/example.png, then we should use this to include the image:
static/image/example.png
![title](/image/example.png)
This is demonstrated by the example site.
Hi,
I would like to use your theme but when testing on my computer there are no images showing in my posts. All my images are in a static folder and I insert them with:
![sons xxx](/blog/wxxxxx.jpg)
What could be wrong?
My config.toml is:
Thank you.