修改日期格式;修改语言

This commit is contained in:
luojia65 2021-05-19 22:19:21 +08:00
parent 91e3f6252b
commit b063a875e0
6 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="zh_CN">
{% include head.html %}
<body>
<!--[if lt IE 10]>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="zh_CN">
{% include post-head.html %}
<body>
@ -23,7 +23,7 @@
<h1>{{ page.title }}</h1>
<div class="post-meta">
<span class="post-meta-item"><i class="iconfont icon-author"></i>{% if page.author %}{{ page.author }}{% else %}{{ site.author }}{% endif %}</span>
<time class="post-meta-item" datetime="{{ page.date | date:"%y-%m-%d" }}"><i class="iconfont icon-date"></i>{{ page.date | date_to_string }}</time>
<time class="post-meta-item" datetime="{{ page.date | date:"%y-%m-%d" }}"><i class="iconfont icon-date"></i>{{ page.date | date: "%Y-%m-%d" }}</time>
</div>
</div>
{% if page.cover %}

View File

@ -44,7 +44,7 @@ cover: assets/hero.jpg
{% endfor %}
{% endif %}
</div>
<time class="post-date" datetime="{{ post.date | date:"%y-%m-%d" }}">{{ post.date | date_to_string }}</time>
<time class="post-date" datetime="{{ post.date | date:"%y-%m-%d" }}">{{ post.date | date: "%Y-%m-%d" }}</time>
</footer>
</article>
{% endfor %}