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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.