eudicots / Cactus

Static site generator for designers. Uses Python and Django templates.
BSD 3-Clause "New" or "Revised" License
3.46k stars 314 forks source link

Cactus won't show svg #220

Open ag opened 8 years ago

ag commented 8 years ago

I tried to also use svg's but they aren't shown.

<use xlink:href="{% static 'images/svg/retina.svg#retina' %}"></use>

krallin commented 8 years ago

It's unclear what exactly you're trying to do here. Can you perhaps clarify a little bit?

Thanks

ag commented 8 years ago

already solved the problem by using inline svgs. but @krallin one question: in the readme.md you talk about optimization "Check out plugins/static_optimizes.py in your project to understand how this works. It's very easy to add your own optimizers!" where is this static_optimizes.py file? I'd actually love to use it but i don't know where it is.

willsr commented 8 years ago

+1 where is this file?

krallin commented 8 years ago

Hey there,

This file is in your project, in the plugins folder. If it's not there, you might have used an oldr version of Cactus to create your project, in which case you'd want to:

Cheers