layout for blog-posts


<!– includes the code for the header –> {% include header.html %}

<!– displays title, content and the publishing date (if set) of a single post –> <main class=“page-content” aria-label=“Content”>

<div class="margin">
  <div class="wrapper single-post">
    <h2>{{ page.title }}</h2>
    {% if page.publishing-date %}
      <span class="date">{{ page.publishing-date }}</span>
    {% endif %}
    {{ content }}
  </div>
</div>

</main>

<!– includes the code for the header –> {% include footer.html %}