39 lines
932 B
HTML
39 lines
932 B
HTML
{{template "header.html" .}}
|
|
|
|
<div id="postsContainer">
|
|
|
|
<div id="posts">
|
|
{{range $.posts}}
|
|
<div class="each-post">
|
|
<div class="title">
|
|
<a href="{{$.viewUrl}}/{{.NoteId}}" title="{{msg $ "fullBlog"}}">
|
|
{{.Title}}
|
|
</a>
|
|
</div>
|
|
<div class="created-time">
|
|
<i class="fa fa-bookmark-o"></i>
|
|
{{if .Tags}}
|
|
{{blogTags $ .Tags}}
|
|
{{else}}
|
|
{{msg $ "noTag"}}
|
|
{{end}}
|
|
|
|
|
<i class="fa fa-calendar"></i> {{msg $ "updatedTime"}} {{.UpdatedTime | datetime}}
|
|
|
|
|
<i class="fa fa-calendar"></i> {{msg $ "createdTime"}} {{.CreatedTime | datetime}}
|
|
</div>
|
|
<div class="desc">
|
|
{{.Abstract | raw}}
|
|
</div>
|
|
<a class="more" href="{{$.viewUrl}}/{{.NoteId}}" title="{{msg $ "fullBlog"}}">{{msg $ "more"}}.</a>
|
|
</div>
|
|
{{end}}
|
|
<!-- 分页 -->
|
|
{{template "paging.html" $}}
|
|
</div>
|
|
</div>
|
|
|
|
{{template "footer.html" .}}
|
|
|
|
</body>
|
|
</html> |