<html metal:use-macro="here/main_template/macros/master" >
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
</head>
<body style="position: relative">

<div metal:fill-slot="header"
     tal:define="global has_local python: 'local_pt' in here.objectIds();
                 global util_macros here/index_html_utils/macros;
                " >

  <div tal:condition="not: has_local">
        <div metal:use-macro="util_macros/index_header">here title</div>
      </div>

  <div tal:condition="has_local">

    <div metal:use-macro="here/local_pt/macros/header | default">
      'local_pt' header goes here.
    </div>

  </div>

</div><!-- header slot -->

<div metal:fill-slot="main">

  <div id="content_well"
       >

    <div tal:condition="not: has_local"><!-- style="float: left; top: 0; width: 80%;" -->

      <br />

      <div metal:use-macro="util_macros/index_content" />
  
      <div metal:use-macro="util_macros/index_links" />

      <div metal:use-macro="util_macros/index_folders" />

    </div>

    <div tal:condition="has_local">

      <div metal:use-macro="here/local_pt/macros/body | default">
        'local_pt' body goes here.
      </div>

    </div>

  </div>

  <!-- <div id="right_sidebar"
       style="width: 20%">

    <div metal:use-macro="util_macros/news_box" />

  </div> -->

</div>

</body>
</html>