title: Inserting blocks into custom places in Magento2
body: <p>In Magento 1</p>
  
  <p>I can edit <code>local.xml</code> like so:</p>
  
  <pre><code>&lt;default&gt;
      &lt;reference name="root"&gt;
          &lt;block type="core/template" name="above_main" template="page/html/banner.phtml" /&gt;
      &lt;/reference&gt;
  &lt;/default&gt;
  </code></pre>
  
  <p>I can edit a template file like so:</p>
  
  <pre><code>&lt;body&lt;?php echo $this-&gt;getBodyClass()?' class="'.$this-&gt;getBodyClass().'"':'' ?&gt;&gt;
  &lt;?php echo $this-&gt;getChildHtml('after_body_start') ?&gt;
  &lt;div class="wrapper"&gt;
      &lt;?php echo $this-&gt;getChildHtml('global_notices') ?&gt;
      &lt;div class="page"&gt;
          &lt;?php echo $this-&gt;getChildHtml('header') ?&gt;
  
          &lt;?php // MY EDIT: ?&gt;
          &lt;?php echo $this-&gt;getChildHtml('above_main');
  
          &lt;div class="main-container col2-left-layout"&gt;
              &lt;div class="main"&gt;
                  &lt;?php echo $this-&gt;getChildHtml('breadcrumbs') ?&gt;
  
  &lt;!-- rest of page... --&gt;
  </code></pre>
  
  <p>This will end up with the file at <code>page/html/banner.phtml</code> being inserted into the template at my own custom position, <code>above_main</code>.</p>
  
  <p>OK, so my question is:</p>
  
  <p>How do I do this in Magento 2?</p>