blog.trnck.dev
1{% include header.html %}
2
3{% if site.layout == 'stacked' %}
4 <div class="container-lg py-6 p-responsive text-center">
5 {% include masthead.html metadata=false %}
6
7 <div class="container-md f4 text-left border rounded-2 bg-white p-3 p-sm-5 mt-6">
8 <p class="f5"><a href="/" class="d-flex flex-items-center">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:#0366d6 aria-label:Home %}Home</a></p>
9 <h1 class="f00-light lh-condensed mb-5">{{ page.title }}</h1>
10 {{ content }}
11 </div>
12 </div>
13{% else %}
14 <div class="d-md-flex min-height-full {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
15 <div class="flex-self-stretch {% if site.style == 'dark' %}bg-gray-dark{% else %}border-md-right border-gray-light bg-white{% endif %} col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6">
16 {% include masthead.html metadata=true %}
17 </div>
18
19 <div class="col-md-7 col-lg-8 col-xl-9 px-4 py-6 px-lg-7 border-top border-md-top-0 bg-gray-light" {% if site.style == 'dark' %}style="background-color: #2f363d !important"{% endif %}>
20 <div class="mx-auto" style="max-width: 900px;">
21 <div class="f4 {% if site.style == 'dark' %}text-white{% endif %} mb-6">
22 <div class="f4 {% if site.style == 'dark' %}text-white{% endif %}">
23 <p class="f5"><a href="{{ site.baseurl | append:'/' }}" class="d-flex flex-items-center {% if site.style == 'dark' %}text-white{% endif %}">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Home %}Home</a></p>
24 <h1 class="f00-light lh-condensed mb-5">{{ page.title }}</h1>
25 {{ content }}
26 </div>
27 </div>
28 </div>
29 </div>
30 </div>
31{% endif %}
32
33{% include footer.html %}