Closed dakky closed 6 years ago
I'm closing this, as I can't reproduce this myself reliably
Consider reopening this. I found it very reproducible on Hugo 0.51. The errors appear in the JS console which indicates that the paths were wrong. But the odd thing is that sometimes the paths seem to repair themselves on load - when inspecting the actual elements on the page, the paths are correct. Seems like some script is modifying the paths while the page is loading.
For a real world example, check out the demo page for the theme with Chrome. I get the errors every time there. https://themes.gohugo.io//theme/future-imperfect/blog/goisforlovers/
By the way - my current workaround is to avoid "date" and set the acutal path manually.
Expected Behavior
featuredpath option always gets rendered as "/img/YEAR/MONTH"
Current Behavior
Sometimes the URL for the images gets rendered wrong:
Here is a example:
bad rendering (html source) in the post itself:
the preview in the "recent posts" sections looks fine:
Your Environment
Hugo Version: 0.40.2
Browser:Chrome
Desktop or Mobile: desktop