feat: add post overhead
This commit is contained in:
parent
fe0e0024b5
commit
f6e90459ea
|
@ -18,4 +18,5 @@ archives: Archives
|
|||
about: About
|
||||
site_uv: UV
|
||||
site_pv: PV
|
||||
links: Links
|
||||
links: Links
|
||||
top: TOP
|
|
@ -18,4 +18,5 @@ archives: 归档
|
|||
about: 关于
|
||||
site_uv: 访问人数
|
||||
site_pv: 总访问量
|
||||
links: 友链
|
||||
links: 友链
|
||||
top: 顶置
|
|
@ -3,7 +3,9 @@
|
|||
<% page.posts.forEach(post => { %>
|
||||
<li class="home-article-item">
|
||||
<h3 class="home-article-title">
|
||||
<a class="title-hover-animation" href="<%- url_for(post.path) %>"><%= post.title %></a>
|
||||
<a class="title-hover-animation" href="<%- url_for(post.path) %>">
|
||||
<%= (post.top ? `[${__('top')}] ` : '') + post.title %>
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
<div class="home-article-content markdown-body">
|
||||
|
|
Loading…
Reference in New Issue