2018-05-23 08:43:12 +08:00
|
|
|
<#--
|
|
|
|
|
2018-08-23 09:08:13 +08:00
|
|
|
Solo - A small and beautiful blogging system written in Java.
|
2019-04-02 09:36:01 +08:00
|
|
|
Copyright (c) 2010-present, b3log.org
|
2018-05-23 08:43:12 +08:00
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
-->
|
2019-03-20 13:49:45 +08:00
|
|
|
<#include "../../common-template/macro-common_head.ftl">
|
2017-02-18 16:01:06 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2019-03-20 13:49:45 +08:00
|
|
|
<@head title="${dynamicLabel} - ${blogTitle}">
|
|
|
|
<link rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}"/>
|
2017-02-18 16:01:06 +08:00
|
|
|
</@head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<#include "header.ftl">
|
|
|
|
<div class="wrapper">
|
|
|
|
<div class="main-wrap">
|
|
|
|
<main class="post">
|
2018-10-28 10:25:29 +08:00
|
|
|
<#if 0 < recentComments?size>
|
2017-02-18 16:01:06 +08:00
|
|
|
<ul class="comments" id="comments">
|
|
|
|
<#list recentComments as comment>
|
|
|
|
<li id="${comment.oId}">
|
|
|
|
<div>
|
2019-03-20 13:49:45 +08:00
|
|
|
<div class="avatar vditor-tooltipped vditor-tooltipped__n" aria-label="${comment.commentName}"
|
2017-02-18 16:01:06 +08:00
|
|
|
style="background-image: url(${comment.commentThumbnailURL})"></div>
|
|
|
|
<main>
|
|
|
|
<div class="fn-clear">
|
|
|
|
<#if "http://" == comment.commentURL>
|
|
|
|
${comment.commentName}
|
|
|
|
<#else>
|
|
|
|
<a class="user-name" href="${comment.commentURL}" target="_blank">${comment.commentName}</a>
|
|
|
|
</#if>
|
|
|
|
<time class="ft-gray">${comment.commentDate?string("yyyy-MM-dd HH:mm")}</time>
|
|
|
|
<a class="reply-btn" href="${servePath}${comment.commentSharpURL}">${viewLabel}»</a>
|
|
|
|
</div>
|
2019-03-16 18:28:32 +08:00
|
|
|
<div class="vditor-reset">
|
2017-02-18 16:01:06 +08:00
|
|
|
${comment.commentContent}
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</#list>
|
|
|
|
</ul>
|
2018-10-27 22:44:15 +08:00
|
|
|
<#else>
|
2019-03-16 18:28:32 +08:00
|
|
|
<div class="vditor-reset ft-center">
|
2018-10-27 22:44:15 +08:00
|
|
|
${noDynamicLabel}
|
|
|
|
</div>
|
2017-02-18 16:01:06 +08:00
|
|
|
</#if>
|
|
|
|
</main>
|
|
|
|
<#include "side.ftl">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<#include "footer.ftl">
|
|
|
|
</body>
|
|
|
|
</html>
|