From 16b61c6155ab8e4469e71f5ff41e7ed9bae61d64 Mon Sep 17 00:00:00 2001 From: devlinjd Date: Sat, 21 Nov 2015 09:29:46 -0500 Subject: [PATCH] Themes: Modern: Use filt.link convenience method. --- themes/modern/templates/html.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/themes/modern/templates/html.html b/themes/modern/templates/html.html index 85de949..f493542 100644 --- a/themes/modern/templates/html.html +++ b/themes/modern/templates/html.html @@ -152,11 +152,7 @@ engine: Underscore {% r.writing.forEach( function( pub, idx, ar) { %}

- {% if( pub.url ) { %} - {{ pub.title }}, {{ pub.publisher }} - {% } else { %} - {{ pub.name }}, {{ pub.publisher }} - {% } %} + {{ filt.link(pub.title, pub.url) }} {{ pub.publisher }}

Published on: {{ pub.safe.date.format('YYYY-MM') }}