My workmates found a solution:
plone.htmlhead is a widget registered with plone.app.layout that downloads three other views:
- plone.resourceregistries.styles
- plone.resourceregistries.scripts
- plone.resourceregistries.kineticstylesheets
I put the following in the HEAD tag:
<div tal:replace="structure provider:plone.resourceregistries.styles" />
And the following:
<div tal:replace="structure provider:plone.resourceregistries.scripts" />
<div tal:replace="structure provider:plone.resourceregistries.kineticstylesheets" />
! CSS , JS