Sean Cribbs wrote:
> I see what you mean, but Layouts are not navigable/serve-able content,
> they are wireframes for the structure of content.  XML feeds and
> Stylesheets are just degenerate cases.

I'm with Sean.  Pages really means "all text files" and Layouts are for 
enhancing (or wrapping) them.

For instance, I have a site where I'm using two page parts to store a 
single javascript page.  One holds commented, human-readable JS, the 
other is in a tab called "compressed."

My JS layout includes the logic to serve up the compressed JS file if it 
exists (along with some added copyright stuff), otherwise it serves the 
standard page.  So this method does add some neat options.

That isn't to say that there aren't issues with treating all text files 
as a generic "page."  There are different types of pages and users view 
them differently.  I think Radiant should too.

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to