1
0
Fork 0

修改文章列表日期位置

This commit is contained in:
indes 2018-04-19 22:10:42 +08:00
parent fe3849c963
commit b8e6609c64

View file

@ -19,10 +19,11 @@
<header class="post-header"> <header class="post-header">
{{ safeHTML (.Scratch.Get `firstEmoji`) }} {{ safeHTML (.Scratch.Get `firstEmoji`) }}
<h2 class="post-title">{{ .Title }}</h2> <h2 class="post-title">{{ .Title }}</h2>
<p class="post-meta">{{ .Date.Format "2006.1.2" }}</p>
</header> </header>
<p class="post-summary">{{ .Summary | plainify | htmlUnescape }}...</p> <p class="post-summary">{{ .Summary | plainify | htmlUnescape }}...</p>
<footer class="post-footer"> <footer class="post-footer">
<p class="post-meta">{{ .Date.Format "2006.1.2" }}</p>
</footer> </footer>
<a class="post-link" href="{{ .Permalink }}"></a> <a class="post-link" href="{{ .Permalink }}"></a>
</article> </article>