-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.ftl
43 lines (43 loc) · 1.8 KB
/
post.ftl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<#include "layouts/partials/head.ftl">
<@head title="${post.title!} · ${blog_title!}" canonical="${post.fullPath!}" />
<body>
<div class="main animated">
<#include "layouts/partials/nav.ftl">
<#include "layouts/partials/header.ftl">
<#include "./layouts/partials/katex/libs-import.ftl">
<div class="content">
<div class="post_page">
<div class="post animated fadeInDown">
<div class="post_title post_detail_title">
<h2><a href='${post.fullPath!}'>${post.title!}</a></h2>
<span class="date">${post.createTime?string('yyyy.MM.dd')}</span>
</div>
<div class="post_content markdown">${post.formatContent!}</div>
<div class="post_footer">
<#if tags?? && tags?size gt 0>
<div class="meta">
<div class="info">
<span class="field tags">
<i class="ri-price-tag-line"></i>
<#list tags as tag>
<a href="${tag.fullPath!}">${tag.name!}</a>
</#list>
</span>
</div>
</div>
</#if>
</div>
</div>
<!-- Valine 评论系统 -->
<#include "layouts/partials/comments.ftl">
<@comment post=post type="post" />
</div>
</div>
<a id="back_to_top" href="#" class="back_to_top"><i class="ri-arrow-up-s-line"></i></a>
</div>
<#include "layouts/partials/footer.ftl">
<#include "layouts/partials/js.ftl">
<#include "./layouts/partials/highlightjs/libs-import.ftl" />
<#include "./layouts/partials/highlightjs/scripts.ftl" />
</body>
</html>