<#if pjax>#if>
-
-
-
-
-
-
- ${article.articleTitle}
-
+
-
- ${article.articleTitle}
-
+
+
+
+ ${article.articleTitle}
+
<#if article.articlePutTop>
${topArticleLabel}
@@ -76,98 +68,62 @@
${updatedLabel}
#if>
-
+
-
-
+
+
-
-
-
-
- <#list article.articleTags?split(",") as articleTag>
-
- ${articleTag}<#if articleTag_has_next>,#if>
- #list>
-
-
- ${article.articleCommentCount} ${commentLabel}
-
-
-
+
+
+ <#list article.articleTags?split(",") as articleTag>
+
+ ${articleTag}<#if articleTag_has_next>,#if>
+ #list>
+
+ <#if article.articleCommentCount gt 0>${article.articleCommentCount} #if>${commentLabel}
+ •
${article.articleViewCount} ${viewLabel}
-
+
-
+
${article.articleContent}
- <#if "" != article.articleSign.signHTML?trim>
-
- ${article.articleSign.signHTML}
-
- #if>
+ <#if "" != article.articleSign.signHTML?trim>
+
+ ${article.articleSign.signHTML}
+ #if>
<#if previousArticlePermalink?? || nextArticlePermalink??>
-
-
- <#if previousArticlePermalink??>
-
- ${previousArticleLabel}: ${previousArticleTitle}
-
- #if>
- <#if nextArticlePermalink??>
-
- ${nextArticleTitle}: ${nextArticleLabel}
-
- #if>
-
+
+ <#if nextArticlePermalink??>
+
+ NEWER
+ ${nextArticleLabel}
+
+ <#else>
+
+ #if>
+ <#if previousArticlePermalink??>
+
+ OLDER
+ ${previousArticleTitle}
+
+ <#else>
+
+ #if>
#if>
-
- <@comments commentList=articleComments article=article>@comments>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <#if pjax>#if>
+
+ <@comments commentList=articleComments article=article>@comments>
+ <#if pjax>#if>
<#include "footer.ftl">
<#if pjax>#if>
<@comment_script oId=article.oId>
-page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
- <#if 0 != randomArticlesDisplayCount>
-page.loadRandomArticles('${randomArticles1Label} ');
- #if>
- <#if 0 != externalRelevantArticlesDisplayCount>
-page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,#if>#list>"
- , "${externalRelevantArticlesLabel} ");
- #if>
- <#if 0 != relevantArticlesDisplayCount>
- page.loadRelevantArticles('${article.oId}',
- '${relevantArticlesLabel} ');
- #if>
@comment_script>
<#if pjax>#if>
diff --git a/Jane/common-comment.ftl b/Jane/common-comment.ftl
index 1dac368..b2a00db 100644
--- a/Jane/common-comment.ftl
+++ b/Jane/common-comment.ftl
@@ -17,32 +17,38 @@
along with this program. If not, see .
-->
-
-
+ + ${article.articleTitle} + <#if article.articlePutTop> ${topArticleLabel} @@ -76,98 +68,62 @@ ${updatedLabel} #if> -
+ -
-
+ ${randomArticles1Label} ');
- #if>
- <#if 0 != externalRelevantArticlesDisplayCount>
-page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,#if>#list>"
- , "${externalRelevantArticlesLabel} ");
- #if>
- <#if 0 != relevantArticlesDisplayCount>
- page.loadRelevantArticles('${article.oId}',
- '${relevantArticlesLabel} ');
- #if>
@comment_script>
<#if pjax>#if>
diff --git a/Jane/common-comment.ftl b/Jane/common-comment.ftl
index 1dac368..b2a00db 100644
--- a/Jane/common-comment.ftl
+++ b/Jane/common-comment.ftl
@@ -17,32 +17,38 @@
along with this program. If not, see .
-->
-
-
+
-
-
-
-
- <#list article.articleTags?split(",") as articleTag>
-
- ${articleTag}<#if articleTag_has_next>,#if>
- #list>
-
-
- ${article.articleCommentCount} ${commentLabel}
-
-
-
+
+
+ <#list article.articleTags?split(",") as articleTag>
+
+ ${articleTag}<#if articleTag_has_next>,#if>
+ #list>
+
-
+ <#if article.articleCommentCount gt 0>${article.articleCommentCount} #if>${commentLabel}
+ •
${article.articleViewCount} ${viewLabel}
-
+
+
<#include "footer.ftl">
<#if pjax>#if>
<@comment_script oId=article.oId>
-page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
- <#if 0 != randomArticlesDisplayCount>
-page.loadRandomArticles('
${article.articleContent}
- <#if "" != article.articleSign.signHTML?trim>
-
<#if previousArticlePermalink?? || nextArticlePermalink??>
-
- ${article.articleSign.signHTML}
-
- #if>
+ <#if "" != article.articleSign.signHTML?trim>
+
+ ${article.articleSign.signHTML}
+ #if>
-
+
+ <@comments commentList=articleComments article=article>@comments>
+ <#if pjax>#if>
- <#if previousArticlePermalink??>
-
- ${previousArticleLabel}: ${previousArticleTitle}
-
- #if>
- <#if nextArticlePermalink??>
-
- ${nextArticleTitle}: ${nextArticleLabel}
-
- #if>
-
+
+ <#if nextArticlePermalink??>
+
+ NEWER
+ ${nextArticleLabel}
+
+ <#else>
+
+ #if>
+ <#if previousArticlePermalink??>
+
+ OLDER
+ ${previousArticleTitle}
+
+ <#else>
+
+ #if>
#if>
-
- <@comments commentList=articleComments article=article>@comments>
-
-
-
-
-
-
- <#if pjax>#if>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ ${linkLabel} +
+- <#list links as link> --
-
- ${link.linkTitle}
-
-
- #list>
-
- #if> -+
-
- ${postCommentsLabel}
-
-
-
-
- <#if !isLoggedIn>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #if>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <#if !isLoggedIn>
-
-
-
-
-
-
- #if>
-
-
-
- ${cancelLabel}
-
-
-
-
-
-
-
+
+
+ <#if !isLoggedIn>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #if>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <#if !isLoggedIn>
+
+
+
+
+
+
+ #if>
+
+
+
+
+
+
+
+
+
#if>
#macro>
@@ -122,8 +115,11 @@
page.addReplyForm(id, commentFormHTML)
};
(function () {
- page.load()
- Skin.initArticle()
+ page.load({
+ language: {
+ theme: 'tomorrow-night-eighties'
+ }
+ })
// emotions
page.replaceCommentsEm('#comments .content-reset')
<#nested>
diff --git a/Jane/page.ftl b/Jane/page.ftl
index dd8a1be..8f55ff7 100644
--- a/Jane/page.ftl
+++ b/Jane/page.ftl
@@ -29,21 +29,19 @@
<#include "header.ftl">
-
-
+
<#if pjax>#if>
-
-
-
-
- ${page.pageContent}
-
-
-
- <@comments commentList=pageComments article=page>@comments>
-
+
+
+ ${page.pageContent}
+
+
+ <@comments commentList=pageComments article=page>@comments>
<#if pjax>#if>
-
<#include "footer.ftl">
<#if pjax>#if>
diff --git a/Jane/tag-articles.ftl b/Jane/tag-articles.ftl
index f4929f5..bed47dc 100644
--- a/Jane/tag-articles.ftl
+++ b/Jane/tag-articles.ftl
@@ -29,25 +29,21 @@
<#include "header.ftl">
-
-
+
<#if pjax>#if>
-
-
-
-
- ${blogTitle}
- >
+
+
+ ${allTagsLabel}
+
+
+
+ ${tag.tagTitle}
- <#include "article-list.ftl">
-
- <#if pjax>#if>
+ <#include "article-list.ftl">
+ <#if pjax>#if>
<#include "footer.ftl">
diff --git a/Jane/tags.ftl b/Jane/tags.ftl
index 4c42619..3cfed96 100644
--- a/Jane/tags.ftl
+++ b/Jane/tags.ftl
@@ -28,31 +28,25 @@
<#include "header.ftl">
-
-
+
<#if pjax>#if>
-
-
-
-
- ${blogTitle}
- >
- ${sumLabel} ${tags?size} ${tagLabel}
-
+
+
+ ${sumLabel} ${tags?size} ${tagLabel}
-
-
-
- <#list tags as tag>
-
- ${tag.tagTitle}
- (${tag.tagPublishedRefCount})
-
- #list>
-
+
+ <#list tags as tag>
+
+ ${tag.tagTitle}
+ (${tag.tagPublishedRefCount})
+
+ #list>
-
+
<#if pjax>#if>
@@ -63,7 +57,7 @@
<#list commentList as comment> <#include 'common-comment.ftl'/> #list>
<#if article.commentable> -+ ${page.pageTitle} +
+ <#if page.pageCommentCount gt 0>${page.pageCommentCount} #if>${commentLabel} ++ - ${allTagsLabel} - > - ${tag.tagTitle} ${tagLabel} -
+ ${allTagsLabel} +
+