You cannot post messages because only members can post, and you are not currently a member.
|
do helpers get auto-compiled?
|
| |
If I make a file called application.rb in src/helpers will it get
compiled on build and be available to the rest of the src? Thanks
|
|
switch statement syntax
|
| |
I'm sure this is down to my lack of ruby knowledge but can I replace
this with some sort of switch statement?
- if current_page.include? "introduction"
=partial('config/intro.haml')
- if current_page.include? "test"
=partial('config/testing.haml' )
- if current_page.include? "beaver"
=partial('config/beavering.ham l')... more »
|
|
Sass :css_filename option not being set?
|
| |
Hey Steve,
Just been having a problem with my Staticmatic project and thought it
was an issue with Compass, but further investigations seem to indicate
it might be something to do with Staticmatic.
Here's the thread on the Compass list:
[link]... more »
|
|
Targets for 0.10.7
|
| |
Hey All,
Based on recent discussions and my own internal requirements, I've
compiled a shortlist of features/fixes to get in for the next release.
Take a look over it and let me know your thoughts:
[link]
I'll prioritise any bugs, but features may have to wait for another... more »
|
|
Using Local Parameters with Partials
|
| |
So the parameters are not appearing for me in the partial templates. I
am not sure why though. What appears instead for a set parameter is a
boolean value, i.e. true. That probably means that this vaiable is
set, but why are they not appearing then?
I am invoking them this way embeddind them this way... more »
|
|
How to determine the view mode?
|
| |
Hey guys,
I'm hacking the core to permit staticmatic to work with different css
and javascript folders and with shtml extension. I just need some
help. How can I programmatically find out which command has been run
-- preview or build?
thanks,
Volkan
|
|
auto-relative path for ie6 conditional
|
| |
Is there any way of making this work relatively throughout the site?
i.e:
(layout file)
!!!
%html
%head
%title MY_title
= stylesheets
/[if IE 6]
%link{ :href => 'stylesheets/ie6.css' }
= javascripts('jquery-1.3.2.min' , :import, :functions)
%body#full-reveal... more »
|
|
pass variables to layouts as well as partials
|
| |
I think this would be a powerful feature to add, even though it would
not exactly add any functionality - it would save gluing a load of
partials together allowing users' code to be more linear.
|
|
Alternate Template Language
|
| |
My apologies if this has been discussed before, but are you guys
looking at supporting erb in the future? Maybe I haven't given HAML
enough time? Any alternative ruby static site frameworks out there?
|
|
|