-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrules.xml
41 lines (33 loc) · 1.86 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
41
<?xml version="1.0" encoding="UTF-8"?>
<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="home.html" css:if-content=".section-front-page" />
<theme href="index.html" css:if-content="#visual-portal-wrapper" />
<!--Plone.app.toolbar-->
<append theme="/html/body" content="//div[@data-iframe='toolbar']" />
<!--Head-->
<copy css:content="html" css:theme="html" attributes="lang dir" />
<before css:content="head style, head link, head script, head meta" css:theme-children="head" />
<replace css:content="head title" css:theme="head title" />
<copy css:content="head base" css:theme="head base" />
<drop css:content="head link[rel='shortcut icon']" />
<drop css:content="head link[rel='apple-touch-icon']" />
<drop css:content="head meta[name='viewport']" />
<!--Content-->
<merge attributes="class" css:content="body" css:theme="body" />
<copy attributes="id dir" css:content="body" css:theme="body" />
<copy attributes="role" css:content="content" css:theme="contentspace" />
<replace css:content="#portal-columns" css:theme="#content" />
<!--Viewlets-->
<replace css:content="#portal-personaltools" css:theme="#user" />
<replace css:content="#portal-logo" css:theme="#logo" />
<replace css:content="#portal-header p.hiddenStructure" css:theme="#accessibility" />
<replace css:content="#portal-globalnav li" css:theme-children="#nav ul" />
<replace css:content-children="#portal-globalnav" css:theme-children="#footer-nav" />
<after css:content="#portal-languageselector" css:theme="#logo" />
<!--Portlets-->
<!-- Control Panel -->
<after css:content="#visual-portal-wrapper .row:last-child script" css:theme="head script:last-child" />
</rules>