-
Notifications
You must be signed in to change notification settings - Fork 11
/
post.ftl
36 lines (36 loc) · 1.37 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
<#--
@package Akina
-->
<#include "header.ftl">
<@header title="${post.title!} - ${blog_title!}">
<#if settings.patternimg!true && post.thumbnail?? && post.thumbnail!=''>
<div class="pattern-center single-center">
<div class="pattern-attachment-img" style="background-image: url('${post.thumbnail!}')"> </div>
<header class="pattern-header single-header">
<h1 class="entry-title">${post.title!}</h1>
<p class="entry-census">
<span>
<a href="${blog_url!}">
<img src="${user.avatar!}">
</a>
</span>
<span>
<a href="${blog_url!}">${user.nickname!}</a>
</span>
<span class="bull">·</span>${post.createTime?string('yyyy-MM-dd')}
<span class="bull">·</span>${post.visits!0} 次阅读
</p>
</header>
</div>
<#else>
<div class="blank"></div>
</#if>
</@header>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<#include "tpl/content-single.ftl">
<#include "layouts/post-nextprev.ftl">
<#include "layouts/authorprofile.ftl">
</main><!-- #main -->
</div><!-- #primary -->
<#include "footer.ftl">