-
Notifications
You must be signed in to change notification settings - Fork 0
/
rules.xml
42 lines (24 loc) · 1.17 KB
/
rules.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<rules
xmlns="http://namespaces.plone.org/diazo"
xmlns:css="http://namespaces.plone.org/diazo/css"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<theme href="theme.html" />
<!-- head -->
<replace content='/html/head/title' theme='/html/head/title' />
<before css:content="head link" css:theme="head link" />
<!-- content area -->
<copy content='//*[@id="front-page-image"]' theme='//*[@id="front-page-image"]' />
<merge attributes="class" css:content="body" css:theme="body" />
<copy attributes="id dir" css:content="body" css:theme="body" />
<replace css:content="#portal-columns" css:theme="#content" />
<replace content='//*[@id="portal-globalnav"]' theme='//*[@class="primarynav"]' />
<replace css:content="#portal-globalnav li" css:theme-children="#splash nav ul" />
<replace content='//*[@id="portal-globalnav"]'
theme='//*[@class="primary_nav"]' />
<!-- Portlets -->
<copy content='//*[@id="portal-logo"]'
theme='//*[@id="title"]' />
<copy content='//*[@id="portal-personaltools"]'
theme='//*[@id="links"]' />
<drop content='//*/dl/dd/a/img' />
</rules>