title: How to achieve multiple content sections in one Jekyll layout file?
body: <p>I'm working on a layout file that has uses tabs as  the navigation bar and there needs to be 3 sections of content to match the 3 tabs of the menu. How can I  label multiple content sections in my *.markdown file and then include those sections in different places in my layout?</p>
  <p>For context, my code looks similar to the below and the content I'm looking to reference includes markdown styling, so I'm hoping to not have to translate that into HTML in order to front load it thru YAML. I'm very new to Jekyll however, so I'm not sure what's possible</p>
  <pre><code>&lt;div class=&quot;tab-content&quot; id=&quot;pills-tabContent&quot;&gt;
  
    &lt;div class=&quot;tab-pane fade show active&quot; id=&quot;pills-view&quot; role=&quot;tabpanel&quot; aria-labelledby=&quot;pills-view-tab&quot;&gt;
      &lt;div&gt;
         [Some unrelated in-file HTML]
      &lt;/div&gt;
    &lt;/div&gt;
  
    &lt;div class=&quot;tab-pane fade&quot; id=&quot;pills-compare&quot; role=&quot;tabpanel&quot; aria-labelledby=&quot;pills-compare-tab&quot;&gt;
      &lt;div&gt;
        {{content}}
      &lt;/div&gt;
    &lt;/div&gt;
  
    &lt;div class=&quot;tab-pane fade&quot; id=&quot;pills-glossary&quot; role=&quot;tabpanel&quot; aria-labelledby=&quot;pills-glossary-tab&quot;&gt;
      &lt;div&gt;
        {{content}}
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>