update time

i18n
xaoxuu 6 years ago
parent cda203bc99
commit 8875f100ee
  1. 6
      layout/_partial/article.ejs
  2. 5
      source/less/_main.less

@ -27,6 +27,12 @@
<%})%>
</div>
<% } %>
<section class='meta'>
<time itemprop="dateUpdated" datetime="<%- moment(post.updated).format() %>" content="<%- date(post.updated, config.date_format) %>">
<i class="fa fa-pencil-square fa-fw" aria-hidden="true"></i>
本文最后更新于:<%- date(post.updated, config.date_format) %>
</time>
</section>
<% if(post.prev || post.next){ %>
<div class="prev-next">

@ -209,7 +209,10 @@
}
}
.meta {
margin-bottom: 2*@gap;
margin-bottom: 0.5*@gap;
&:first-child{
margin-bottom: 2*@gap;
}
.title {
left: 0;
font-size: @fontsize_article_title;

Loading…
Cancel
Save