diff --git a/_includes/post_header.html b/_includes/post_header.html index 6ca3e06..24cda03 100644 --- a/_includes/post_header.html +++ b/_includes/post_header.html @@ -2,7 +2,9 @@

{{ page.title }}

- {{ page.date | date: "%Y-%m-%d" }} + {% if page.author %} - {% if page.author_url %} diff --git a/index.html b/index.html index 213b7fd..218c0ad 100644 --- a/index.html +++ b/index.html @@ -4,19 +4,22 @@ {% for page in paginator.posts %} {% unless page.draft %} -
- {{ page.date | date: "%Y-%m-%d" }} +
+ +

+ {{ page.title }} +

+
+ {% if page.summary %} + {{ page.summary | markdownify }} + {% else %} + {{ page.content | truncatewords: 130 }} + {% endif %} + more +
-

- {{ page.title }} -

- {% if page.summary %} - {{ page.summary | markdownify }} - {% else %} - {{ page.content | truncatewords: 130 }} - {% endif %} - more -

{% 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; +} +