plone / diazo

Diazo applies a static HTML theme to a dynamic website
http://diazo.org
Other
41 stars 26 forks source link

Include content review #49

Closed ebrehault closed 9 years ago

ebrehault commented 9 years ago

This PR is #44 rebased and improved. @lrowe, according our discussion in #44, I have extended the <include> directive mechanism to other directives having css:content attributes, so now:

<before css:theme-children="#main" css:content="#breadcrumbs" />

is equivalent to:

<before css:theme-children="#main">
    <include css:content="#breadcrumbs" />
</before>

It does work fine, but:

I let you have a look, and if you have no major doubt about this implementation, I think we will merge this PR as it really improves the Plone theming user story.

ebrehault commented 9 years ago

Tests: http://jenkins.plone.org/job/pull-request-5.0/476/

lrowe commented 9 years ago

Superseded by #50