configurable paths for stylesheets and images in site

7 views
Skip to first unread message

Marco Hess

unread,
Jun 25, 2010, 11:04:10 PM6/25/10
to StaticMatic
I am trying to use StaticMatic to generate some pages for a small
embedded controller that does not have a file system structure i.e. it
does not have directories and all the files reside on the same (top)
level. Hence relative directories for stylesheets, images and
javescript are not available.

How can I configure StaticMatic so that the stylesheets for the site
are in the top directory?

I tried the sass_option :css_location => "/" but that does not seem to
work.

Similarly, I would like to configure StaticMatic so that the link
generated by img also uses the site top directory for the image
location. I currently fudge it a bit with "./image.gif" but I would
prefer not to have the "./" in every image path.
Reply all
Reply to author
Forward
0 new messages