{"id":67,"date":"2009-09-01T13:35:47","date_gmt":"2009-09-01T20:35:47","guid":{"rendered":"http:\/\/www.reisun.com\/?p=67"},"modified":"2009-09-01T13:35:47","modified_gmt":"2009-09-01T20:35:47","slug":"plone-main-template-slots","status":"publish","type":"post","link":"https:\/\/www.reisun.com\/?p=67","title":{"rendered":"Plone Main Template Slots"},"content":{"rendered":"<p>Here is the list of slots that are defined in the master page template for Plone.<\/p>\n<ul>\n<li>HEAD slots\n<ul>\n<li>base<\/li>\n<li>head_slot<\/li>\n<li>style_slot<\/li>\n<li>javascript_head_slot<\/li>\n<\/ul>\n<\/li>\n<li>BODY slots\n<ul>\n<li>content<\/li>\n<li>body<\/li>\n<li>main (for most cases use this instead of content or body)<\/li>\n<li>sub<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>To use one of these slots (for example, &#8220;style_slot&#8221;) use the metal:fill-slot macro<\/p>\n<pre>&lt;style metal:fill-slot=\"style_slot\" type=\"text\/css\"&gt;\n table.LesionLocation {border:1px solid blue;border-collapse:collapse;}\n table.LesionLocation td {border:1px solid black;padding: 5px;}\n&lt;\/style&gt;<\/pre>\n<p>The page template must reference the master template:<\/p>\n<pre>&lt;html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\u00c2\u00a0\nxml:lang=\"en\" lang=\"en\" i18n:domain=\"plone\"\nmetal:use-macro=\"here\/main_template\/macros\/master\"&gt;\n...\n&lt;\/html&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here is the list of slots that are defined in the master page template for Plone. HEAD slots base head_slot style_slot javascript_head_slot BODY slots content body main (for most cases use this instead of content or body) sub To use one of these slots (for example, &#8220;style_slot&#8221;) use the metal:fill-slot macro &lt;style metal:fill-slot=&#8221;style_slot&#8221; type=&#8221;text\/css&#8221;&gt; table.LesionLocation [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-plone"],"_links":{"self":[{"href":"https:\/\/www.reisun.com\/index.php?rest_route=\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.reisun.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.reisun.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.reisun.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.reisun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=67"}],"version-history":[{"count":0,"href":"https:\/\/www.reisun.com\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.reisun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.reisun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.reisun.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}