diff options
Diffstat (limited to '_pages/index.html')
-rw-r--r-- | _pages/index.html | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/_pages/index.html b/_pages/index.html index 3257c6a..ecf5f69 100644 --- a/_pages/index.html +++ b/_pages/index.html @@ -1,26 +1,34 @@ --- permalink: "index.html" +title: "Home" layout: page --- {% assign postsByYear = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %} -<!-- Links to external resources --> -{% include external_links.html %} - {% for year in postsByYear %} <h2>{{ year.name | strip_newlines | strip_html | strip | normalize_whitespace | slugify }}</h2> - {% for post in year.items %} - <div class="post-item"> - <small><time datetime="{{ post.date | date_to_xmlschema}}">{{ post.date | date_to_long_string }}</time></small> - <h4> - <a href="{{ post.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}"> - {{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} - </a> - </h4> + <table class="table table-striped"> + {% for post in year.items %} + <tr> + <!-- Date --> + <td> + <time datetime="{{ post.date | date_to_xmlschema}}">{{ post.date | date_to_long_string }}</time> + </td> + + <!-- Title --> + <td> + <a href="{{ post.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}"> + {{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} + </a> + </td> - <p>{{ post.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncatewords: 32 | xml_escape }}</p> - </div> - {% endfor %} + <!-- Description --> + <td> + {{ post.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncatewords: 32 | xml_escape }} + </td> + </tr> + {% endfor %} + </table> {% endfor %} |