From f8430c10b00a078ae24914a773f0604a96822429 Mon Sep 17 00:00:00 2001 From: zlargon Date: Mon, 11 Apr 2016 22:29:05 +0800 Subject: [PATCH] [bug fix] thumbnail refer to incorrect image url when site is put in a subdirectory In hexo 3.2.0, the implementation of url_for() has been changed. --- layout/common/thumbnail.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/common/thumbnail.ejs b/layout/common/thumbnail.ejs index 7b8905b..71a8416 100644 --- a/layout/common/thumbnail.ejs +++ b/layout/common/thumbnail.ejs @@ -1,8 +1,8 @@ <% var thumbnailUrl = thumbnail(post) %> <% if (thumbnailUrl) { %> - + <% } else { %> <% } %> - \ No newline at end of file +