samvincent / jekyll-haml

HAML html converter for Jekyll
MIT License
88 stars 40 forks source link

any advice using this with jekyll-assets? #34

Closed josh-m-sharpe closed 5 years ago

josh-m-sharpe commented 5 years ago

This doesn't seem to play nice:

%img{src: "{% asset steps1.jpg %}"}

  Conversion error: Jekyll::HamlConverter encountered an error while converting '_posts/post.haml':
                    (haml):1: syntax error, unexpected tIDENTIFIER, expecting ')' ...e1a6cc8bcbc5bb0085de30e4a378bed.jpg">")).to_s);; _hamlout.bu... ...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (haml):1: syntax error, unexpected ')', expecting end-of-input ...085de30e4a378bed.jpg">")).to_s);; _hamlout.buffer << (">\n".... ... ^
josh-m-sharpe commented 5 years ago

Nvm - skip the haml img tag:

Just using this: {% asset steps1.jpg %}