title: Jekyll: Liquid Capture and Markdownify Tag Issues
body: <p>In Jekyll, I am trying to include a paragraph of &quot;site information&quot; that should go on a certain amount of pages in my website.  The file structure of the certain information I am dealing with is a &quot;team&quot;folder-&gt;&quot;_posts&quot;folder-&gt; then within the &quot;_posts&quot; folder is &quot;site_information.md&quot; and many other markdown files of pages that I want to include the &quot;site_information.md&quot; in.  I do not want to use an includes statement on every single file in &quot;_posts&quot; folder if possible, so I want to make an includes statement in the &quot;layout.html&quot; file.</p>
  <h3>Here is what I have tried in the &quot;layout.html&quot; file:</h3>
  <pre><code>{% if page.page == &quot;page&quot; %}
    {% include_relative site_information.md %}
    {{content}}
  {% endif %}}
  </code></pre>
  <p>The code above included the information I wanted, but it did not include it in markdown format.</p>
  <h3>I then tried this:</h3>
  <pre><code>{% if page.page == &quot;page&quot; %}
    {% capture site_info %}{% include_relative site_information.md %}{% endcapture %}
    {{site_info}}
    {{content}}
  {% endif %}
  </code></pre>
  <p>This code does not display the &quot;site_information.md&quot; information on the pages at all when using the capture tag.</p>
  <h3>I then tried this:</h3>
  <pre><code>{% if page.page == &quot;page&quot; %}
    {% capture site_info %}{% include_relative site_information.md %}{% endcapture %}
    {{site_info | markdownify}}
    {{content}}
  {% endif %}
  </code></pre>
  <p>This code gave me the error when using the markdownify tag:<br />
  Liquid Exception: undefined method `gsub' for nil:NilClass in     _layouts/layout.html</p>
  <p>Does anyone know how to fix this so I can use an includes statement in the layout to properly display a markdownified file on a number of web pages?</p>