Created
November 23, 2014 07:11
-
-
Save shakna-israel/b213d04045882db3b381 to your computer and use it in GitHub Desktop.
This does not process as sass, due to liquid.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
--- | |
{% for posts in site.posts %} | |
#{{ post.id }} { | |
overflow:hidden; | |
width:100%; | |
height:auto; | |
background-image:url("{{ "assets/img/" | append post.img }}") | |
} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You cannot put liquid in Sass. In order to do what you're trying to accomplish you could try and use in-line CSS in the body tag of the posts template.