solo-skins/metro-hot/article.ftl
Van 7dee13e15a Revert "metro 改进"
This reverts commit 10953a0af5e7f29007b87c2a3de97e5f855cd40d.
2013-10-17 11:26:35 +08:00

86 lines
3.6 KiB
Plaintext

<#include "macro-head.ftl">
<#include "macro-comments.ftl">
<#include "macro-side.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${article.articleTitle} - ${blogTitle}">
<meta name="keywords" content="${article.articleTags}" />
<meta name="description" content="${article.articleAbstract?html}" />
</@head>
</head>
<body>
${topBarReplacement}
<div class="wrapper">
<div id="header">
<#include "header.ftl">
<div class="article-header">
<span class="article-date" data-ico="&#xe200;">
<#if article.hasUpdated>
${article.articleUpdateDate?string("yy-MM-dd HH:mm")}
<#else>
${article.articleCreateDate?string("yy-MM-dd HH:mm")}
</#if>
</span>
<h2>
${article.articleTitle}
<#if article.hasUpdated>
<sup>
${updatedLabel}
</sup>
</#if>
<#if article.articlePutTop>
<sup>
${topArticleLabel}
</sup>
</#if>
</h2>
<div data-ico="&#x003b;" title="${tagLabel}">
<#list article.articleTags?split(",") as articleTag>
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">${articleTag}</a><#if articleTag_has_next>,</#if>
</#list>
</div>
<div class="article-info">
<a rel="nofollow" data-ico="&#xe14e;" href="${servePath}${article.articlePermalink}#comments">
${article.articleCommentCount}
</a>
<a rel="nofollow" data-ico="&#xe185;" href="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</a>
<a rel="nofollow" data-ico="&#x0060;" href="${servePath}/authors/${article.authorId}">
${article.authorName}
</a>
</div>
</div>
</div>
<div class="fn-clear">
<div class="main">
<div class="article-body">
${article.articleContent}
<#if "" != article.articleSign.signHTML?trim>
${article.articleSign.signHTML}
</#if>
</div>
<@comments commentList=articleComments article=article></@comments>
<#include "copyright.ftl"/>
</div>
<@side isArticle=true />
</div>
</div>
<#include "footer.ftl">
<@comment_script oId=article.oId>
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
<#if 0 != randomArticlesDisplayCount>
MetroHot.loadRandomArticles();
</#if>
<#if 0 != relevantArticlesDisplayCount>
MetroHot.loadRelevantArticles('${article.oId}');
</#if>
<#if 0 != externalRelevantArticlesDisplayCount>
MetroHot.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>");
</#if>
</@comment_script>
</body>
</html>