You cannot post messages because only members can post, and you are not currently a member.
|
Thank you
|
| |
I've been helping someone out on a static site, and my eyes were
bleeding with all the CSS and HTML. Thanks alot for staticmatic - you
have saved me from writing it myself :). Am tempted to improve the
error reporting.
Cheers,
Julian
|
|
Almost an ideal solution... just one more thing.
|
| |
I am primarily a web app developer, however I occasionally need to
build simple websites that are little more then a brochure.
StaticMatic is a great solution, however my clients would like to be
able to 'edit' the content online. After thinking about this I
believe StaticMatic along with another solution is best... Does... more »
|
|
Fixing the passing of :locals to a partial in StaticMatic 0.9.4
|
| |
The syntax:
= partial('timeline', {:a => 'A', :b => 'B'})
successfully passes local variables to the '_timeline' partial if the
StaticMatic Base class has one line changed:
/Library/Ruby/Gems/1.8/gems/st aticmatic-0.9.4/lib/staticmati c/base.rb
On line 217, change
html.render(@scope) { yield }... more »
|
|
Fixing the " undefined method `line_offset' " Error
|
| |
Previous workarounds for this error downgraded Haml to an older
revision.
StaticMatic assigns Haml::Error instances to 'haml_error' when it
rescues exceptions. The Haml module contains a class called Error,
which is only a few lines long - see lib/haml/error.rb. This Error
class was simplified after Haml 1.8.2, and now contains only one... more »
|
|
Development
|
| |
What is going on on your development branches? It seems that Thomas Reynolds is going off in and interesting direction. Thomas are you in contact with Steven about your changes? I'm working on a gem called RSSify that I hope to integrate with Staticmatic for automatic RSS generation. I was hoping to work on the latest code, but... more »
|
|
Is anybody using partials with locals?
|
| |
I tried using partials with 0.9.4 with locals and it dies. Looks like
0.9.4 is not compatible with haml 2+. I tried using staticmatic 2 from
git and the preview won't even load, it says there's an error on:
$ rake preview --
trace
(in mysite)
** Invoke preview (first_time)
** Execute preview... more »
|
|
On-demand template handlers
|
| |
In my branch on github, staticmatic now attempts to load a list of
gems (haml, liquid, redcloth, etc) and enables template handlers for
each if they are found. This makes staticmatic template agnostic as
haml and sass are loaded just the same as Markdown or Liquid. It also
removes all the Haml.init_rails hacks.... more »
|
|
CSS subfolders
|
| |
I tried using Blueprint CSS with StaticMatic.
But the 'blueprint' subfolder in 'stylesheets' does not tag along when
doing a build or preview, I have to copy it to 'site/stylesheets'
myself.
Had a look at the Blueprint CSS Helper (http://
staticmatic.rubyforge.org/svn/ trunk/contrib/helpers/
blueprintcss_helper.rb) but that one seems to assume a 'stylesheets/... more »
|
|
HAML error... Any pointers?
|
| |
Hi All,
I'm only 10 minutes in to my adventure with staticmatic (and to be
honest, HAML and SASS).
I'm getting mongrel errors when I try to preview and when I try to
build I see this:
->staticmatic build test_site
created test_site/site/stylesheets/app lication.css
/opt/local/lib/ruby/gems/1.8/g ems/staticmatic-0.9.4/bin/../l ib/... more »
|
|
|