diff --git a/Casper/article.ftl b/Casper/article.ftl index 2c06e4c..4e41fdc 100644 --- a/Casper/article.ftl +++ b/Casper/article.ftl @@ -23,16 +23,16 @@ -<@head title="${article.articleTitle} - ${blogTitle}" description="${article.articleAbstract?html}"> - - <#if previousArticlePermalink??> - - - <#if nextArticlePermalink??> - - - + <@head title="${article.articleTitle} - ${blogTitle}" description="${article.articleAbstract?html}"> + + <#if previousArticlePermalink??> + + + <#if nextArticlePermalink??> + + +
@@ -51,15 +51,16 @@
/ <#list article.articleTags?split(",") as articleTag> -   +  

- ${article.articleTitle} + ${article.articleTitle} <#if article.articlePutTop> ${topArticleLabel} @@ -73,26 +74,28 @@

-
- ${article.articleContent} - <#if "" != article.articleSign.signHTML?trim> -
- ${article.articleSign.signHTML} -
- -
+
+
+ ${article.articleContent} + <#if "" != article.articleSign.signHTML?trim> +
+ ${article.articleSign.signHTML} +
+ +
+
<#if article?? && article.articleToC?? && article.articleToC?size > 0> -
- <#include "../../common-template/toc.ftl"/> -
+
+ <#include "../../common-template/toc.ftl"/> +
<@comments commentList=articleComments article=article>
<#if 0 != externalRelevantArticlesDisplayCount> -
+
@@ -106,14 +109,14 @@ <@comment_script oId=article.oId commentable=article.commentable> page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}"; <#if 0 != randomArticlesDisplayCount> - page.loadRandomArticles('

${randomArticlesLabel}

'); + page.loadRandomArticles('

${randomArticlesLabel}

'); <#if 0 != externalRelevantArticlesDisplayCount> - page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,", - '

${externalRelevantArticlesLabel}

'); + page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,", + '

${externalRelevantArticlesLabel}

'); <#if 0 != relevantArticlesDisplayCount> - page.loadRelevantArticles('${article.oId}', '

${relevantArticlesLabel}

'); + page.loadRelevantArticles('${article.oId}', '

${relevantArticlesLabel}

'); Skin.initArticle()