119 lines
5.9 KiB
Plaintext
119 lines
5.9 KiB
Plaintext
<#include "macro-head.ftl">
|
|
<#include "macro-comments.ftl">
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<@head title="${article.articleTitle} - ${blogTitle}">
|
|
<meta name="keywords" content="${article.articleTags}" />
|
|
<meta name="description" content="${article.articleAbstract?html}" />
|
|
</@head>
|
|
<#if previousArticlePermalink??>
|
|
<link rel="prev" title="${previousArticleTitle}" href="${servePath}${previousArticlePermalink}">
|
|
</#if>
|
|
<#if nextArticlePermalink??>
|
|
<link rel="next" title="${nextArticleTitle}" href="${servePath}${nextArticlePermalink}">
|
|
</#if>
|
|
</head>
|
|
<body>
|
|
<#include "header.ftl">
|
|
<div class="wrapper">
|
|
<div class="main-wrap">
|
|
<main>
|
|
<article class="post">
|
|
<header>
|
|
<h1>
|
|
<a rel="bookmark" href="${servePath}${article.articlePermalink}">
|
|
${article.articleTitle}
|
|
</a>
|
|
<#if article.articlePutTop>
|
|
<sup>
|
|
${topArticleLabel}
|
|
</sup>
|
|
</#if>
|
|
<#if article.hasUpdated>
|
|
<sup>
|
|
${updatedLabel}
|
|
</sup>
|
|
</#if>
|
|
</h1>
|
|
<div class="meta">
|
|
<span class="tooltipped tooltipped-n" aria-label="${createDateLabel}">
|
|
<i class="icon-date"></i>
|
|
<time>
|
|
${article.articleCreateDate?string("yyyy-MM-dd")}
|
|
</time>
|
|
</span>
|
|
|
|
|
<span class="tooltipped tooltipped-n" aria-label="${commentCountLabel}">
|
|
<i class="icon-comments"></i>
|
|
<a href="${servePath}${article.articlePermalink}#comments">
|
|
${article.articleCommentCount} ${commentLabel}</a>
|
|
</span>
|
|
|
|
|
<span class="tooltipped tooltipped-n" aria-label="${viewCountLabel}">
|
|
<i class="icon-views"></i>
|
|
${article.articleViewCount} ${viewLabel}
|
|
</span>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="content-reset">
|
|
${article.articleContent}
|
|
<#if "" != article.articleSign.signHTML?trim>
|
|
<div>
|
|
${article.articleSign.signHTML}
|
|
</div>
|
|
</#if>
|
|
</div>
|
|
|
|
<footer class="tags">
|
|
<#list article.articleTags?split(",") as articleTag>
|
|
<a class="tag" rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">
|
|
${articleTag}</a>
|
|
</#list>
|
|
|
|
<#-- div class="copyright">
|
|
${articleCP1Label}
|
|
<a rel="bookmark" href="${servePath}${article.articlePermalink}">
|
|
${article.articleTitle}
|
|
</a> -
|
|
<a href="${servePath}">
|
|
${blogTitle}
|
|
</a>
|
|
</div -->
|
|
|
|
<div class="rel fn-clear">
|
|
<#if previousArticlePermalink??>
|
|
<a href="${servePath}${previousArticlePermalink}" rel="prev"
|
|
class="fn-left tooltipped tooltipped-n"
|
|
aria-label="${previousArticleTitle}">
|
|
${previousArticleLabel}
|
|
</a>
|
|
</#if>
|
|
<#if nextArticlePermalink??>
|
|
<a href="${servePath}${nextArticlePermalink}" rel="next"
|
|
class="fn-right tooltipped tooltipped-n"
|
|
aria-label="${nextArticleTitle}">
|
|
${nextArticleLabel}
|
|
</a>
|
|
</#if>
|
|
</div>
|
|
</footer>
|
|
<div id="externalRelevantArticles" class="list"></div>
|
|
<@comments commentList=articleComments article=article></@comments>
|
|
</article>
|
|
</main>
|
|
<#include "side.ftl">
|
|
</div>
|
|
</div>
|
|
<#include "footer.ftl">
|
|
<@comment_script oId=article.oId>
|
|
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
|
|
<#if 0 != externalRelevantArticlesDisplayCount>
|
|
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>"
|
|
, "<header class='title'><h2>${externalRelevantArticlesLabel}</h2></header>");
|
|
</#if>
|
|
</@comment_script>
|
|
</body>
|
|
</html>
|