perf: update home page article title

This commit is contained in:
XPoet 2020-04-29 10:44:47 +08:00
parent fc0f82df42
commit a7762a3aef
1 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,10 @@
<h3 class="home-article-title">
<a href="<%- url_for(post.path) %>">
<%= (post.top ? `[${__('top')}] ` : '') + post.title %>
<% if (post.top) { %>
<i class="fa fa-thumb-tack"></i>
<% } %>
<%= post.title %>
</a>
</h3>