-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsheet.ftl
53 lines (52 loc) · 2.43 KB
/
sheet.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
44
45
46
47
48
49
50
51
52
53
<#include "module/macro.ftl"/>
<@head title="${sheet.title!} - ${blog_title!}"/>
<body class="bg-[#f9f9f9] dark:bg-neutral-800">
<div class="flex flex-col lg:flex-row">
<@header/>
<div class="flex flex-col lg:pl-[330px] w-full">
<div class="page-title my-20 mx-auto lg:page-mqx-width w-full lg:px-[40px]">
<h1 class="text-4xl font-black subpixel-antialiased pl-4 lg:pl-0 dark:text-white" id="fillTitle">${sheet.title!}</h1>
</div>
<div class="flex flex-col lg:flex-row w-full mx-auto lg:page-mqx-width lg:space-x-8 lg:px-[40px]">
<div class="page-content lg:w-[73%] block overflow-hidden">
<div class="page-item hover:shadow-lg duration-300 mb-12">
<div class="page-content bg-white p-4 lg:p-8 text-767676 flex flex-col space-y-3 dark:bg-neutral-900">
<div class="page-meta text-[##767676] text-base flex justify-between">
<div class="">
<span>
${sheet.createTime?string("yyyy-MM-dd")}
</span>
</div>
<div>
<a class="flex space-x-2 block" href="#comment" title="评论一下">
<i class="ri-chat-2-line"></i>
<span>${sheet.commentCount!}</span>
</a>
</div>
</div>
<div class="border-b border-gray-300 w-full"></div>
<div class="page-summary markdown-body pb-2" id="post-content">
${post.formatContent!}
</div>
</div>
</div>
<div id="comment">
<#include "module/comment.ftl">
<@comment target=sheet type="sheet" />
</div>
</div>
<div class="sidebar lg:w-[27%] block overflow-hidden">
<div class="flex flex-col space-y-12">
<@widgetHotPost/>
<@widgetRecentComments/>
<@widgetNewPost/>
</div>
</div>
</div>
</div>
<div class="pl-4 pl-8 pl-12 pl-16 pl-20 pl-24 hidden hover:bg-sky-500 hover:text-white">
</div>
</div>
<@footer/>
</body>
</html>