Plone page templates code

From Julian Yap

Add this to Page Templates/ Controller Page Templates to embed them.

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
      lang="en"
      metal:use-macro="here/main_template/macros/master"
      i18n:domain="plone">

<body>
<!-- For Controller Page Templates, use:
<body tal:define="errors options/state/getErrors">
-->

<div metal:fill-slot="main">
   
<h1 tal:content="template/title">title</h1>

<!-- CODE GOES HERE -->

</div>

</body>
</html>