From 0c7caeeccf02dc00c4f579282a3149750c304bd0 Mon Sep 17 00:00:00 2001 From: Tom Wiesing <tkw01536@gmail.com> Date: Sat, 24 Jun 2017 14:10:05 -0400 Subject: [PATCH] Smaller collection style --- _includes/post_link.html | 14 +++++++------- _includes/psitem.html | 7 ++++--- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/_includes/post_link.html b/_includes/post_link.html index 4e33974..497c599 100644 --- a/_includes/post_link.html +++ b/_includes/post_link.html @@ -4,12 +4,12 @@ {% endcomment %} <li class="collection-item"> - <h5> - <a href="{{post.url}}"> - {{post.title}} {{post.subtitle}} - </a> - </h5> + <a href="{{post.url}}" class="title"> + {{post.title}} {{post.subtitle}} + </a> - {% assign post = page %} - {% include post_meta.html %} + <div> + {% assign post = page %} + {% include post_meta.html %} + </div> </li> \ No newline at end of file diff --git a/_includes/psitem.html b/_includes/psitem.html index 5c9522a..9762804 100644 --- a/_includes/psitem.html +++ b/_includes/psitem.html @@ -2,10 +2,11 @@ Renders a link to a single project or system. Expects 'item' as a parameter. {% endcomment %} -<li class="collection-item avatar"> +<li class="collection-item"> <a href="{{item.url}}" class="title">{{item.title}}</a> {% if item.funding %} ({{item.funding}}) {% endif %} - <p> + + <div> {% if item.start_date %} {% unless item.end_date %} <b>started</b> @@ -22,5 +23,5 @@ {% endif %} {{item.teaser | safe}} - </p> + </div> </li> -- GitLab