st4ple/solid-jekyll

image path error - Blog detail page

Closed this issue · 2 comments

It displays good in blog page when I post a new article, but there's an error when I click 'read more' btn.
I can't see the img. just like the link below:
http://ojs.xyz/solid-jekyll/blog/wordpress/photoshop/time-to-change-your-apps/

Hi infodavid, thanks for pointing out!
The error is in the file _layouts/post.html on line 12: Replace the value of src= in this line with:

"{{ "/assets/img/blog/" | prepend: site.baseurl }}{{ page.img }}"

Now the images should be displayed correctly. I will update this in the master file asap.

The category sidebar does't work, in blog page. It still shows all the articles when you click on any tags.
The <a href> ref to nothing.
http://ojs.xyz/solid-jekyll/blog/
screen shot 2014-09-24 at 1 09 44 am