The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: "François Vaux" <r...@yapok.org>
Date: Wed, 9 Jul 2008 19:02:08 +0200
Local: Wed 9 Jul 2008 18:02
Subject: Re: How do I vary certain contents based on a page property
2008/7/9 Pauli <pauli.pr...@gmail.com>:
> some-page.haml I don't know if this works with local variables, but I think it doesn't. > - type = "category1" > layout.haml > = unless ( type == "category1") partial-for-category1 > Will this work? Do you recommend another method? You'd rather use instance variables, something like :: some-page.haml - @type = "category1 layout.haml This works great, and I use it a lot :) - François You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||