_layouts/default.html (37 lines of code) (raw):

--- layout: base --- <div class="header default"> <div class="l-container"> {% include mainmenu.html %} </div> </div> <main> <div class="l-container"> <header class="l-full preamble"> <h1>{{ page.title }}</h1> {% if page.subtitle %}<h2>{{ page.subtitle }}</h2>{% endif %} {% if page.titlePicture %} {% assign pictureAttrs = "" %} {% for prop in page.titlePicture %} {% for subprop in prop %} {% capture pictureAttrs %}{{ pictureAttrs }} {{subprop[0]}}="{{subprop[1]}}" {% endcapture %} {% endfor %} {% endfor %} <img {{pictureAttrs}}> {% endif %} {% if page.preamble %}<p>{{ page.preamble | markownify }}</p>{% endif %} </header> <section class="toc left {{page.layout}} {{page.pageclasses}}"> {{ content | toc_generate }} </section> <section> {{ content }} {% for item in page.additionalContents %} <article id="{{item.sectionId}}" {% unless item.cssClass == '' %}class="{{item.cssClass}}"{% endunless %}> {% include {{item.path}} %} </article> {% endfor %} </section> </div> </main>