--- layout: default --- {% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% include page__hero.html %} {% elsif page.header.video.id and page.header.video.provider %} {% include page__hero_video.html %} {% endif %} {% if page.url != "/" and site.breadcrumbs %} {% unless paginator %} {% include breadcrumbs.html %} {% endunless %} {% endif %} <div id="main" role="main"> {% include sidebar.html %} <article class="page h-entry" itemscope itemtype="https://schema.org/CreativeWork"> {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %} {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %} {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %} {% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %} <div class="page__inner-wrap"> {% unless page.header.overlay_color or page.header.overlay_image %} <header> {% if page.title %}<h1 id="page-title" class="page__title p-name" itemprop="headline"> <a href="{{ page.url | absolute_url }}" class="u-url" itemprop="url">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</a> </h1>{% endif %} {% include page__meta.html %} </header> {% endunless %} <section class="page__content e-content" itemprop="text"> {% if page.toc %} <aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}"> <nav class="toc"> <header><h4 class="nav__title"><svg style="width:22px;height:16px;vertical-align:middle;fill:currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M256 0v128h128L256 0zM224 128L224 0H48C21.49 0 0 21.49 0 48v416C0 490.5 21.49 512 48 512h288c26.51 0 48-21.49 48-48V160h-127.1C238.3 160 224 145.7 224 128zM272 416h-160C103.2 416 96 408.8 96 400C96 391.2 103.2 384 112 384h160c8.836 0 16 7.162 16 16C288 408.8 280.8 416 272 416zM272 352h-160C103.2 352 96 344.8 96 336C96 327.2 103.2 320 112 320h160c8.836 0 16 7.162 16 16C288 344.8 280.8 352 272 352zM288 272C288 280.8 280.8 288 272 288h-160C103.2 288 96 280.8 96 272C96 263.2 103.2 256 112 256h160C280.8 256 288 263.2 288 272z"/></svg> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label | default: "On this page" }}</h4></header> {% include toc.html sanitize=true html=content h_min=1 h_max=6 class="toc__menu" skip_no_ids=true %} </nav> </aside> {% endif %} {{ content }} {% if page.link %}<div><a href="{{ page.link }}" class="btn btn--primary">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %} </section> <footer class="page__meta"> {% if site.data.ui-text[site.locale].meta_label %} <h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4> {% endif %} {% include page__taxonomy.html %} {% include page__date.html %} </footer> {% if page.share %}{% include social-share.html %}{% endif %} {% include post_pagination.html %} </div> {% if jekyll.environment == 'production' and site.comments.provider and page.comments %} {% include comments.html %} {% endif %} </article> {% comment %}<!-- only show related on a post page when `related: true` -->{% endcomment %} {% if page.id and page.related and site.related_posts.size > 0 %} <div class="page__related"> <h2 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h2> <div class="grid__wrapper"> {% for post in site.related_posts limit:4 %} {% include archive-single.html type="grid" %} {% endfor %} </div> </div> {% comment %}<!-- otherwise show recent posts if no related when `related: true` -->{% endcomment %} {% elsif page.id and page.related %} <div class="page__related"> <h2 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h2> <div class="grid__wrapper"> {% for post in site.posts limit:4 %} {% if post.id == page.id %} {% continue %} {% endif %} {% include archive-single.html type="grid" %} {% endfor %} </div> </div> {% endif %} </div>