On Sat, Mar 20, 2010 at 9:14 PM, Charles Roper <[email protected]> wrote: > On 21/03/2010 00:07, Jim Gay wrote: >> Yes. Haml and Sass are included in Radiant and have been since >> 0.6.something I think. > > I've just don't a bit of searching around because I can't find much info > on using Haml with Radiant and I've found a few messages that say Haml > is problematic due to the Radius tags. > > Is that still the case and so is it better to avoid Haml when using > Radiant? Or have I missed a vital bit of documentation somewhere?
There are 2 issues. First, you can use Haml in views that your extension creates. All of the radiant source code is Haml. For example http://github.com/radiant/radiant/blob/master/app/views/layouts/application.html.haml Secondly, this is separate from using Haml in your content. There are occasional requests about using Haml in content and I saw that someone had implemented it in a fork of Radiant, so I pulled it out and made a public extension http://ext.radiantcms.org/extensions/145-haml-filter So your question seems to be confusing these 2 things. Yes, you may use Haml in your views. Yes, with the haml_filter you can use Haml in your content, but you may run into trouble since Haml is whitespace sensitive and you may need to write your radius tags in a way according to that. I've not actually used the filter myself, I just made it available. Does that clear it up? _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
