{% include top.html %} <body> {% include header.html %} <main> {% capture title-content %} <h1>{{ page.title }}</h1> {% if page.authors.size > 0 or page.categories.size > 0 or page.tags.size > 0 %} {% include blog_post/metadata.html authors = page.authors date = page.date categories = page.categories tags = page.tags %} {% endif %} {% endcapture %} {% include title_image.html content=title-content %} <section> {% comment %} The content of a blog post is to be wrapped into an article, not only because it is semantically sound, but also to take advantage of the special classes defined in main.scss for handling certain scenarios in markdown. {% endcomment %} <article class="non-excerpt-content"> {%- include language-selector.html -%} {{ content }} </article> </section> </main> {% include footer.html %} </body> </html>