From 65e59752a00bdea0faee680531ac4ec4f8279c95 Mon Sep 17 00:00:00 2001
From: Thomas Wood <thomas.wood09@imperial.ac.uk>
Date: Mon, 11 Apr 2016 12:28:08 +0100
Subject: [PATCH] Fixup bad HTML Markup

---
 Rakefile                        | 1 -
 _includes/person-cards.html     | 2 +-
 _layouts/publication-entry.html | 2 +-
 _layouts/publication.html       | 2 +-
 4 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Rakefile b/Rakefile
index 9fd291a..d46d825 100644
--- a/Rakefile
+++ b/Rakefile
@@ -9,7 +9,6 @@ end
 
 htmlproofer_config = {
   :disable_external => true,
-  :check_favicon => true,
   :check_html => true,
   :parallel => { :in_processes => 4 }
 }
diff --git a/_includes/person-cards.html b/_includes/person-cards.html
index 93ade59..0e06615 100644
--- a/_includes/person-cards.html
+++ b/_includes/person-cards.html
@@ -10,6 +10,6 @@
     <h6 class="card-subtitle text-muted">{{ person.position }}</h6>
   </div>
 </div>
-{% if row == 0%}</div></div>{% endif %}
+{% if row == 0 or forloop.last %}</div></div>{% endif %}
 {% endfor %}
 </div>
diff --git a/_layouts/publication-entry.html b/_layouts/publication-entry.html
index af79f4b..6c264e6 100644
--- a/_layouts/publication-entry.html
+++ b/_layouts/publication-entry.html
@@ -3,6 +3,6 @@
   {% if link %}<a class="btn btn-secondary" role="button" href="{{ link }}"><i class="fa fa-file-text-o"></i></a>{% endif %}
 </div>
 <p class="pub-title h4"><a href="{{ details }}">{{ entry.title }}</a></p>
-<p class="pub-authors">{% include publication-authors.html authors=entry.author_array %}</p>
+{% include publication-authors.html authors=entry.author_array %}
 <p class="pub-venue">{% include publication-venue.html entry=entry %}</p>
 
diff --git a/_layouts/publication.html b/_layouts/publication.html
index 359f845..6ee4679 100644
--- a/_layouts/publication.html
+++ b/_layouts/publication.html
@@ -22,7 +22,7 @@ menu: false
   </div>
   <div class="col-sm-8">
     <h3>Authors</h3>
-    <p>{% include publication-authors.html authors=page.entry.author_array %}</p>
+    {% include publication-authors.html authors=page.entry.author_array %}
 
     {% if page.entry.abstract %}
     <h3>Abstract</h3>
-- 
GitLab