From a7762a3aef7c0ef64caa6f2557117846851ac9de Mon Sep 17 00:00:00 2001 From: XPoet Date: Wed, 29 Apr 2020 10:44:47 +0800 Subject: [PATCH] perf: update home page article title --- layout/home-content.ejs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/layout/home-content.ejs b/layout/home-content.ejs index 6a6b03e..a390b63 100644 --- a/layout/home-content.ejs +++ b/layout/home-content.ejs @@ -5,7 +5,10 @@

- <%= (post.top ? `[${__('top')}] ` : '') + post.title %> + <% if (post.top) { %> + + <% } %> + <%= post.title %>