You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.
in config.toml. However, the images aren't rendered. Rendered HTML shows
<articleclass="mini-post"><section><ahref="/fish-demo/blog/hugoisforlovers/" class="image featured"><imgsrc="/img/2014/04/pic01.jpg" alt="Pic 1"></a></section><header><h1><ahref="/fish-demo/blog/hugoisforlovers/">Getting Started with Hugo</a></h1><timeclass="published" datetime="">April 2, 2014</time></header></article>
The src of the <img> is incorrect in case of GitHub/GitLab project pages. I'm not an expert in web design/development. You're going to be more proficient than me to fix this.
That is an interesting bug I will have to look into. It is due to the URL being relative for multilingual, so I think Hugo might be parsing it odd? I'll check back.
On mobile, so I'm not certain on this, but I think this should solve it. It probably does not need the parenthesis around the path.Join, but I played it safe.
Bug Report
Describe the bug
I tried building a demo site for this theme on Framagit: https://vincenttam.frama.io/fish-demo/blog/creating-a-new-theme/ with
in
config.toml
. However, the images aren't rendered. Rendered HTML showsThe
src
of the<img>
is incorrect in case of GitHub/GitLab project pages. I'm not an expert in web design/development. You're going to be more proficient than me to fix this.hugo-future-imperfect-slim/layouts/post/featured.html
Lines 1 to 5 in e0eb982
Besides, I also get error on nav bar and page redirect after submitting Staticman comment. The images in the posts have incorrect URL's.
To Reproduce
Expected behavior
Screenshots
Environment
The text was updated successfully, but these errors were encountered: