SASS subdirectories?

75 views
Skip to first unread message

divisionoftigers

unread,
May 16, 2011, 6:00:45 PM5/16/11
to StaticMatic
Hi all,

It doesn't seem that adding subdirectories to the /src/stylesheets get
rendered. For instance, if I put a sass file here:

`/src/stylesheets/products/products.sass`

...it doesn't get rendered. Will it only render sass files that are in
the root /src/stylesheets directory?

Lucas Nunes

unread,
May 16, 2011, 8:56:29 PM5/16/11
to stati...@googlegroups.com
Found the problem: the method template_exists? in lib/staticmatic/base.rb does
not considers style sheets subdirectories when searching for them.

Now all we have to do is to wait for Stephen Bartholomew to read this e-mail...
--
Lucas Dutra Nunes

Lucas Nunes

unread,
May 16, 2011, 8:17:16 PM5/16/11
to stati...@googlegroups.com
I can confirm this with StaticMatic  0.11.1: the stylesheet does not get rendered on in the preview if is inside a subdirectory.
Building the hole site, however, works fine, and renders it appropriately. So it's probably a bug in the preview.

2011/5/16 divisionoftigers <christop...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "StaticMatic" group.
To post to this group, send email to stati...@googlegroups.com.
To unsubscribe from this group, send email to staticmatic...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/staticmatic?hl=en.


--
Lucas Dutra Nunes
Reply all
Reply to author
Forward
0 new messages