jez / hpstr-theme

A Medium-like Octopress theme based on the HPSTR Jekyll theme.
GNU General Public License v3.0
63 stars 15 forks source link

{{ background }} format AND avatar path #3

Closed yuanxiaolong closed 10 years ago

yuanxiaolong commented 10 years ago

brower rendered the background css style in HTML file

BEFORE:



AFTER:



jez commented 10 years ago

I merged and closed this, but I didn't test it out. @yuanxiaolong please confirm that these changes work. You will want to make note of the commit message on the last commit, as this update will break functionality for current users.

jez commented 10 years ago

After doing some testing on my own, I reverted the changes that dealt with a separate include for local vs external image links. This also means that the breaking changes I mentioned in my previous commit are no longer in effect.

The errors I was getting were dealing with jekyll not recognizing the parameterized version of jekyll's include tag. I didn't care to resolve the issue, as I don't think it's that critical. If someone else can to get commit 206a48d working, be my guest.