[Radiant] Pages, Snippets and Layouts Coordination

2009-11-13 Thread Jason Broom
I'm seeking a clarification on the relationships between Pages, Snippets and
Layouts when it comes to CSS. I'm unable to visualize how Radiant mashes a
Page named 'Styles' containing CSS, associates it with a Layout that only
has the Radiant tag r:content /, then somehow maps to the div structures
in the Layout named 'Normal'.

 

Is it because the Page 'Styles' is slugged 'styles.css', and the Layout
'Stylesheet' is a context-type text/css

 

I know this is Radiant 101, but thinking of CSS as a Page is not intuitive,
as I equate Pages with navigation. Would I be better off skipping CSS as a
Page, and just link rel=stylesheet somewhere in the metaverse? 

 

Just looking for some insights from those with deeper experience.

 

Thanks.

 

 

 

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Pages, Snippets and Layouts Coordination

2009-11-13 Thread john muhl
On Fri, Nov 13, 2009 at 4:45 PM, Jason Broom jbroo...@gmail.com wrote:

 Would I be better off skipping CSS as a
 Page, and just link rel=stylesheet somewhere in the metaverse?

that's my preferred way; not to mention spending a database lookup
(actually more than one) and having your css expire from the cache
every five minutes aren't what you'd call performant.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant