akrabat / avalanche

A theme for landslide
68 stars 22 forks source link

Cannot embed background image in CSS file #6

Closed lornajane closed 12 years ago

lornajane commented 12 years ago

I have an additional css file that I use with avalanche which sets a background image:

div.presentation { background-image: url('grid_dark.png'); }

This works wonderfully unless I try to set embed=True (which I do for creating a backup of my slides). When I enable embed, I get this error:

grid_dark.png was not found, skipping Error: coercing to Unicode: need string or buffer, bool found

The output file does not get written. The CSS is included fine if I don't embed. If you want the actual source files let me know and I'll send it all over.

akrabat commented 12 years ago

This is a bug in landslide itself. I've fixed it and provided a PR upstream (https://github.com/adamzap/landslide/issues/126)

I have also created a branch called develop (https://github.com/akrabat/landslide/tree/develop) which contains this fix and also the inline-php one too.

akrabat commented 12 years ago

This has now been fixed in landslide itself.