on master help sign in
index: add elif for description in absence of image
924e510Josh Lehman
templates/index.html+2
@@ -137,6 +137,8 @@
137 <h2 class="f5 fw6 mt0 mb1">{{ page.title }}</h2>
137 <h2 class="f5 fw6 mt0 mb1">{{ page.title }}</h2>
138 {% if page.extra.image %}
138 {% if page.extra.image %}
139 <img class="db mv2 obj-cover h4 w-50 ba" src="{{ page.extra.image }}" />
139 <img class="db mv2 obj-cover h4 w-50 ba" src="{{ page.extra.image }}" />
140+ {% elif page.extra.description %}
141+ <p class="lh-copy mt1">{{ page.extra.description }}</p>
140 {% endif %}
142 {% endif %}
141 <time class="mono f6">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
143 <time class="mono f6">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
142 <span class="mono f6">
144 <span class="mono f6">