+
+
+
+ {% if page.summary %}
+ {{ page.summary | markdownify }}
+ {% else %}
+ {{ page.content | truncatewords: 130 }}
+ {% endif %}
+
more
+
- {% if page.summary %}
- {{ page.summary | markdownify }}
- {% else %}
- {{ page.content | truncatewords: 130 }}
- {% endif %}
-
{% endunless %}
{% endfor %}
diff --git a/stylesheets/styles.css b/stylesheets/styles.css
index 11dc38d..a56eb32 100644
--- a/stylesheets/styles.css
+++ b/stylesheets/styles.css
@@ -269,3 +269,14 @@ footer {
border-radius: 25px;
border: 2px solid #eee;
}
+
+/* Spacing between posts on index page. */
+.short-post > .summary {
+ margin-bottom:2em;
+}
+
+/* reduce spacing between summary and 'more' link */
+.summary > p {
+ margin-bottom:0.2em;
+}
+