From f28d438508617f2d0b20c6da2a877a142954fcc8 Mon Sep 17 00:00:00 2001 From: Thomas Wood <thomas.wood09@imperial.ac.uk> Date: Wed, 25 Jan 2017 22:21:55 +0000 Subject: [PATCH] Use link command to generate consistent link styles for homepage --- _layouts/home.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_layouts/home.html b/_layouts/home.html index f6ce075..07821ad 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -14,12 +14,12 @@ layout: default <div class="row"> <div class="col-sm-6"> - <h2><a href="{{ site.url }}/news.html">Recent News</a></h2> - {% include news-page.html max=5 %} - </div> + <h2><a href="{% link news.html %}">Recent News</a></h2> + {% include news-page.html max=5 %} + </div> <div class="col-sm-6"> - <h2><a href="{{ site.url }}/publications.html">Recent Publications</a></h2> + <h2><a href="{% link publications.html %}">Recent Publications</a></h2> {% bibliography --max 5 %} </div> </div> -- GitLab