long-form and sub conditionals

This commit is contained in:
Garry Ing 2021-05-30 15:10:39 -04:00
parent 7d8ac9c5e3
commit 274d2328c3
No known key found for this signature in database
GPG Key ID: 3B379B1F2193CC3E

View File

@ -23,10 +23,13 @@ layout: default
</time> </time>
</div> </div>
<h1 class="note-title normal relative work-sans-light f-5 f1-m mb4 lh-solid">{{ page.title }}</h1> <h1 class="note-title normal relative work-sans-light f-5 f1-m mb4 lh-solid">{{ page.title }}</h1>
{% if page.subtitle %}
<h2 class="note-title normal relative work-sans-light f2 mb4 lh-solid">{{ page.subtitle }}</h2>
{% endif %}
</header> </header>
<div id="notes-entry-container" class="flex-auto"> <div id="notes-entry-container" class="flex-auto">
<div class="note-contents f5 lh-copy"> <div class="note-contents f5 lh-copy {% if page.type == "long-form" %} serif{% endif %}">
{{ content }} {{ content }}
</div> </div>
</div> </div>