💯 子模块目录调整
This commit is contained in:
58
classic/archive-articles.ftl
Normal file
58
classic/archive-articles.ftl
Normal file
@@ -0,0 +1,58 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount}) - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${archiveDate.archiveDateYear}${archiveDate.archiveDateMonth}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<h2 class="marginLeft12 marginBottom12">${archive1Label}
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount})
|
||||
<#else>
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel} (${archiveDate.archiveDatePublishedArticleCount})
|
||||
</#if>
|
||||
</h2>
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
106
classic/article-list.ftl
Normal file
106
classic/article-list.ftl
Normal file
@@ -0,0 +1,106 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<div>
|
||||
<#list articles as article>
|
||||
<div class="article">
|
||||
<div class="article-header">
|
||||
<div class="article-date">
|
||||
<#if article.hasUpdated>
|
||||
${article.articleUpdateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
<#else>
|
||||
${article.articleCreateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
</#if>
|
||||
</div>
|
||||
<div class="article-title">
|
||||
<h2>
|
||||
<a rel="bookmark" class="no-underline" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
<#if article.hasUpdated>
|
||||
<sup class="red">
|
||||
${updatedLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
<#if article.articlePutTop>
|
||||
<sup class="red">
|
||||
${topArticleLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
</h2>
|
||||
<div class="article-tags">
|
||||
${tags1Label}
|
||||
<#list article.articleTags?split(",") as articleTag>
|
||||
<span>
|
||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">
|
||||
${articleTag}</a><#if articleTag_has_next>,</#if>
|
||||
</span>
|
||||
</#list>
|
||||
<#-- 注释掉填充用户名部分
|
||||
${author1Label}<a rel="nofollow" href="${servePath}/authors/${article.authorId}">${article.authorName}</a>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="article-body content-reset">
|
||||
<div class="article-abstract">
|
||||
${article.articleAbstract}
|
||||
</div>
|
||||
</div>
|
||||
<div class="article-footer">
|
||||
<div class="right">
|
||||
<span class="article-create-date left">
|
||||
${article.articleCreateDate?string("yyyy-MM-dd HH:mm:ss")}  
|
||||
</span>
|
||||
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments" class="left">
|
||||
<span class="left commentIcon" title="${commentLabel}"></span>
|
||||
${article.articleCommentCount}
|
||||
</a>
|
||||
<span class="left"> </span>
|
||||
<a rel="nofollow" href="${servePath}${article.articlePermalink}" class="left">
|
||||
<span class="left browserIcon" title="${viewLabel}"></span>
|
||||
${article.articleViewCount}
|
||||
</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</#list>
|
||||
<#if 0 != paginationPageCount>
|
||||
<div class="pagination">
|
||||
<#if 1 != paginationPageNums?first>
|
||||
<a href="${servePath}${path}/1">${firstPageLabel}</a>
|
||||
<a id="previousPage" href="${servePath}${path}/${paginationPreviousPageNum}">${previousPageLabel}</a>
|
||||
</#if>
|
||||
<#list paginationPageNums as paginationPageNum>
|
||||
<#if paginationPageNum == paginationCurrentPageNum>
|
||||
<a href="${servePath}${path}/${paginationPageNum}" class="selected">${paginationPageNum}</a>
|
||||
<#else>
|
||||
<a href="${servePath}${path}/${paginationPageNum}">${paginationPageNum}</a>
|
||||
</#if>
|
||||
</#list>
|
||||
<#if paginationPageNums?last != paginationPageCount>
|
||||
<a id="nextPage" href="${servePath}${path}/${paginationNextPageNum}">${nextPagePabel}</a>
|
||||
<a href="${servePath}${path}/${paginationPageCount}">${lastPageLabel}</a>
|
||||
</#if>
|
||||
${sumLabel} ${paginationPageCount} ${pageLabel}
|
||||
</div>
|
||||
</#if>
|
||||
</div>
|
227
classic/article.ftl
Normal file
227
classic/article.ftl
Normal file
@@ -0,0 +1,227 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#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>
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:locale" content="zh_CN"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:title" content="${article.articleTitle}"/>
|
||||
<meta property="og:description" content="${article.articleAbstract?html}"/>
|
||||
<meta property="og:image" content="${article.authorThumbnailURL}"/>
|
||||
<meta property="og:url" content="${servePath}${article.articlePermalink}"/>
|
||||
<meta property="og:site_name" content="Solo"/>
|
||||
<!-- Twitter Card -->
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:description" content="${article.articleAbstract?html}"/>
|
||||
<meta name="twitter:title" content="${article.articleTitle}"/>
|
||||
<meta name="twitter:image" content="${article.authorThumbnailURL}"/>
|
||||
<meta name="twitter:url" content="${servePath}${article.articlePermalink}"/>
|
||||
<meta name="twitter:site" content="@DL88250"/>
|
||||
<meta name="twitter:creator" content="@DL88250"/>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<div class="article">
|
||||
<div class="article-header">
|
||||
<div class="article-date">
|
||||
<#if article.hasUpdated>
|
||||
${article.articleUpdateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
<#else>
|
||||
${article.articleCreateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
</#if>
|
||||
</div>
|
||||
<div class="article-title">
|
||||
<h2>
|
||||
<a class="no-underline" href="${servePath}${article.articlePermalink}">${article.articleTitle}</a>
|
||||
<#if article.hasUpdated>
|
||||
<sup class="red">
|
||||
${updatedLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
<#if article.articlePutTop>
|
||||
<sup class="red">
|
||||
${topArticleLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
</h2>
|
||||
<div class="article-tags">
|
||||
${tags1Label}
|
||||
<#list article.articleTags?split(",") as articleTag>
|
||||
<span>
|
||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">
|
||||
${articleTag}</a><#if articleTag_has_next>,</#if>
|
||||
</span>
|
||||
</#list>
|
||||
<#-- 注释掉填充用户名部分
|
||||
${author1Label}<a rel="nofollow" href="${servePath}/authors/${article.authorId}">${article.authorName}</a>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="article-body content-reset">
|
||||
${article.articleContent}
|
||||
<#if "" != article.articleSign.signHTML?trim>
|
||||
<div class="marginTop12">
|
||||
${article.articleSign.signHTML}
|
||||
</div>
|
||||
</#if>
|
||||
</div>
|
||||
<div class="article-details-footer">
|
||||
<div class="left">
|
||||
<#if nextArticlePermalink??>
|
||||
<a href="${servePath}${nextArticlePermalink}">${nextArticle1Label}${nextArticleTitle}</a><br/>
|
||||
</#if>
|
||||
<#if previousArticlePermalink??>
|
||||
<a href="${servePath}${previousArticlePermalink}">${previousArticle1Label}${previousArticleTitle}</a>
|
||||
</#if>
|
||||
</div>
|
||||
<div class="right">
|
||||
<span class="article-create-date left">
|
||||
${article.articleCreateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
</span>
|
||||
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments" class="left">
|
||||
<span class="left commentIcon" title="${commentLabel}"></span>
|
||||
<span class="left">${article.articleCommentCount}</span>
|
||||
</a>
|
||||
<a rel="nofollow" href="${servePath}${article.articlePermalink}" class="left">
|
||||
<span class="left browserIcon" title="${viewLabel}"></span>
|
||||
<span id="articleViewCount">${article.articleViewCount}</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<#if 0 != relevantArticlesDisplayCount>
|
||||
<div id="relevantArticles" class="article-relative left" style="width: 50%;"></div>
|
||||
</#if>
|
||||
<div id="randomArticles" class="left article-relative"></div>
|
||||
<div class="clear"></div>
|
||||
<div id="externalRelevantArticles" class="article-relative"></div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<@comments commentList=articleComments article=article></@comments>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right side">
|
||||
<section>
|
||||
<#include "side.ftl">
|
||||
</section>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
<@comment_script oId=article.oId>
|
||||
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
|
||||
<#if 0 != randomArticlesDisplayCount>
|
||||
page.loadRandomArticles();
|
||||
</#if>
|
||||
<#if 0 != relevantArticlesDisplayCount>
|
||||
page.loadRelevantArticles('${article.oId}', '<h4>${relevantArticles1Label}</h4>');
|
||||
</#if>
|
||||
<#if 0 != externalRelevantArticlesDisplayCount>
|
||||
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>");
|
||||
</#if>
|
||||
</@comment_script>
|
||||
<script>
|
||||
(function () {
|
||||
if ($('.b3-solo-list li').length > 0 && $(window).width() > 1000) {
|
||||
// add color to sidebar menu
|
||||
$('.side').addClass('has-toc');
|
||||
|
||||
// append toc to sidebar menu
|
||||
var articleTocHTML = '<ul><li class="current" data-tab="toc">${tocLabel}'
|
||||
+ '</li><li data-tab="site">${siteViewLabel}</li></ul><div class="clear"></div><section></section>';
|
||||
$('.side').prepend(articleTocHTML);
|
||||
var $sectionF = $('.side section:first').html($('.b3-solo-list')),
|
||||
$sectionL = $('.side section:last');
|
||||
$sectionL.hide();
|
||||
$sectionF.height($(window).height()).css({ 'overflow': 'auto', 'width': $('.side').width() + 'px'});;
|
||||
// 切换 tab
|
||||
$('.side > ul > li').click(function () {
|
||||
if ($(this).data('tab') === 'toc') {
|
||||
$sectionL.animate({
|
||||
"opacity": '0',
|
||||
"top": '-50px'
|
||||
}, 300, function () {
|
||||
$sectionF.show().css('top', '-50px');
|
||||
$sectionF.animate({
|
||||
"opacity": '1',
|
||||
"top": '0'
|
||||
}, 300);
|
||||
}).hide();
|
||||
} else {
|
||||
$sectionF.animate({
|
||||
"opacity": '0',
|
||||
"top": '-50px'
|
||||
}, 300, function () {
|
||||
$sectionF.hide().css('top', '-50px');
|
||||
$sectionL.animate({
|
||||
"opacity": '1',
|
||||
"top": '0'
|
||||
}, 300).show();
|
||||
});
|
||||
}
|
||||
$('.side > ul > li').removeClass('current');
|
||||
$(this).addClass('current');
|
||||
});
|
||||
}
|
||||
|
||||
$(window).scroll(function () {
|
||||
if ($(window).scrollTop() > 155) {
|
||||
$('.side section:eq(0)').css({
|
||||
position: "fixed",
|
||||
top: 0,
|
||||
backgroundColor: "#fff",
|
||||
borderLeft: "2px solid #E5ECF9"
|
||||
})
|
||||
} else {
|
||||
$('.side section:eq(0)').css({
|
||||
position: "inherit",
|
||||
borderLeft: 0
|
||||
})
|
||||
}
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
54
classic/author-articles.ftl
Normal file
54
classic/author-articles.ftl
Normal file
@@ -0,0 +1,54 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${authorName} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${authorName}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<h2 class="marginLeft12 marginBottom12">
|
||||
${author1Label}${authorName}
|
||||
</h2>
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
56
classic/category-articles.ftl
Normal file
56
classic/category-articles.ftl
Normal file
@@ -0,0 +1,56 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${category.categoryTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${category.categoryTitle}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<h2 class="marginLeft12 marginBottom12">
|
||||
${categoryLabel}:
|
||||
${category.categoryTitle}
|
||||
(${category.categoryTagCnt})<small> ${category.categoryDescription}</small>
|
||||
</h2>
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
54
classic/common-comment.ftl
Normal file
54
classic/common-comment.ftl
Normal file
@@ -0,0 +1,54 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<div id="${comment.oId}">
|
||||
<div class="comment-panel">
|
||||
<div class="comment-title">
|
||||
<#if "http://" == comment.commentURL>
|
||||
<a>${comment.commentName}</a>
|
||||
<#else>
|
||||
<a href="${comment.commentURL}" target="_blank">${comment.commentName}</a>
|
||||
</#if>
|
||||
<#if comment.isReply>
|
||||
@
|
||||
<a href="${servePath}${article.permalink}#${comment.commentOriginalCommentId}"
|
||||
onmouseover="page.showComment(this, '${comment.commentOriginalCommentId}', 23);"
|
||||
onmouseout="page.hideComment('${comment.commentOriginalCommentId}')">${comment.commentOriginalCommentName}</a>
|
||||
</#if>
|
||||
<div class="right">
|
||||
${comment.commentDate2?string("yyyy-MM-dd HH:mm:ss")}
|
||||
|
||||
<#if article.commentable>
|
||||
<a class="no-underline"
|
||||
href="javascript:replyTo('${comment.oId}');">${replyLabel}</a>
|
||||
</#if>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<div class="left comment-picture">
|
||||
<img alt="${comment.commentName}" src="${comment.commentThumbnailURL}"/>
|
||||
</div>
|
||||
<div class="comment-content content-reset article-body">
|
||||
${comment.commentContent}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
428
classic/css/classic.css
Normal file
428
classic/css/classic.css
Normal file
@@ -0,0 +1,428 @@
|
||||
/**
|
||||
* Solo - A small and beautiful blogging system written in Java.
|
||||
* Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
@charset "utf-8";
|
||||
/*
|
||||
* skin classic style
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @author <a href="http://88250.b3log.org">Liang Ding</a>
|
||||
* @version 1.3.0.0, Jun 4, 2018
|
||||
*/
|
||||
a, a:link {
|
||||
color: #0000CC;
|
||||
}
|
||||
a:active {
|
||||
color: red;
|
||||
}
|
||||
a:visited {
|
||||
color: #551A8B;
|
||||
}
|
||||
h5 {
|
||||
font-size: 12px;
|
||||
}
|
||||
.content {
|
||||
margin: 0 auto;
|
||||
max-width: 1250px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
.header {
|
||||
height: 108px;
|
||||
}
|
||||
|
||||
.header .page-icon {
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
margin: -1px 3px 0 0;
|
||||
}
|
||||
|
||||
.sub-title {
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
}
|
||||
.side {
|
||||
border-left: 2px solid #E5ECF9;
|
||||
padding-left: 12px;
|
||||
width: 280px;
|
||||
}
|
||||
.main {
|
||||
margin-right: -294px;
|
||||
width: 100%;
|
||||
}
|
||||
.main>div {
|
||||
min-width: 280px;
|
||||
padding-right: 318px;
|
||||
}
|
||||
#logoTitle {
|
||||
font-family: "Microsoft YaHei";
|
||||
font-size: 32px;
|
||||
line-height: 64px;
|
||||
text-decoration: none;
|
||||
}
|
||||
#statistic span {
|
||||
font-size: 11px;
|
||||
}
|
||||
.article, .comments {
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
.article-title {
|
||||
background-color: #E3E3FF;
|
||||
border-top: 1px solid #3366CC;
|
||||
margin-left: 91px;
|
||||
padding: 3px 0 6px 12px;
|
||||
}
|
||||
.article-title sup {
|
||||
font-size: 12px;
|
||||
}
|
||||
.article-date {
|
||||
background-color: #E3E3FF;
|
||||
border: 1px solid #BBCCFF;
|
||||
float: left;
|
||||
margin: 0 12px 12px 0;
|
||||
border-radius: 5px;
|
||||
padding: 7px 3px;
|
||||
width: 70px;
|
||||
text-align: center;
|
||||
word-break: break-all;
|
||||
}
|
||||
.article-abstract {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.article-body {
|
||||
margin-left: 12px;
|
||||
line-height: 145%;
|
||||
}
|
||||
.article-footer {
|
||||
margin-right: 12px;
|
||||
}
|
||||
.article-footer a, .article-details-footer a {
|
||||
text-decoration: none;
|
||||
}
|
||||
.article-details-footer {
|
||||
margin: 36px 12px 0 0;
|
||||
}
|
||||
.article-relative {
|
||||
line-height: 22px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
.comments {
|
||||
position: relative;
|
||||
}
|
||||
.comment-title {
|
||||
background-color: #E3E3FF;
|
||||
border-top: 1px solid #3366CC;
|
||||
padding: 3px 12px 3px 12px;
|
||||
}
|
||||
.comment-body-ref {
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #E3E3FF;
|
||||
filter: alpha(opacity=90);
|
||||
left: 88px;
|
||||
opacity: 0.9;
|
||||
position: absolute;
|
||||
top: 27px;
|
||||
width: 87%;
|
||||
z-index: 10;
|
||||
}
|
||||
.comment-body-ref .comment-title {
|
||||
border-top: 0px;
|
||||
}
|
||||
.comment-body {
|
||||
padding: 9px 12px 12px;
|
||||
word-wrap: break-word;
|
||||
overflow: hidden;
|
||||
}
|
||||
.comment-picture {
|
||||
margin-right: 12px;
|
||||
}
|
||||
.comment-picture img {
|
||||
height: 60px;
|
||||
width: 60px;
|
||||
}
|
||||
.comment-reply {
|
||||
margin: 0 auto 24px auto;
|
||||
}
|
||||
.comment-content {
|
||||
float: left;
|
||||
width: 88%;
|
||||
}
|
||||
|
||||
#commentURL:focus, #commentURLReply:focus {
|
||||
box-shadow: -3px 1px 2px rgba(0, 0, 0, 0.3) inset;
|
||||
}
|
||||
|
||||
.error-msg {
|
||||
color: #3366CC;
|
||||
}
|
||||
.error-footer {
|
||||
bottom: 0px;
|
||||
position: fixed;
|
||||
width: 82%;
|
||||
}
|
||||
#sideNavi a.selected {
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
}
|
||||
.side-navi ul {
|
||||
list-style: none;
|
||||
}
|
||||
#sideNavi li {
|
||||
line-height: 22px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
-o-text-overflow: ellipsis;
|
||||
}
|
||||
#sideNavi li.aboutMe, #sideNavi li.side-navi-notice {
|
||||
white-space: normal;
|
||||
}
|
||||
#sideNavi sup {
|
||||
margin-right: 3px;
|
||||
color: green;
|
||||
}
|
||||
.side-comment {
|
||||
text-decoration: none;
|
||||
}
|
||||
#recentComments p {
|
||||
display: inline;
|
||||
}
|
||||
#recentComments div, #recentComments br {
|
||||
display: none;
|
||||
}
|
||||
.line {
|
||||
border-top: thin dotted #BBBBBB;
|
||||
margin-top: 12px;
|
||||
padding-top: 12px;
|
||||
}
|
||||
.pagination {
|
||||
margin: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
.pagination a, .pagination a:visited {
|
||||
color: #4272DB;
|
||||
padding: 0 3px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.pagination a.selected {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
#tagsPanel .tagPanel {
|
||||
border: 2px solid;
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
margin: 3px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
#tagsPanel .tagPanel:hover {
|
||||
background-color: #EEEEEE;
|
||||
border: 2px dashed;
|
||||
}
|
||||
#tagsPanel .tagPanel {
|
||||
text-decoration: none;
|
||||
}
|
||||
.error-title {
|
||||
border-top: 1px solid #3366CC;
|
||||
background-color: #E5ECF9;
|
||||
margin-left: 12px;
|
||||
padding: 6px 12px;
|
||||
}
|
||||
.error-panel {
|
||||
margin-left: 12px;
|
||||
padding: 24px;
|
||||
}
|
||||
.commentIcon, .browserIcon {
|
||||
background-image: url("../../../images/icon.png");
|
||||
cursor: pointer;
|
||||
height: 16px;
|
||||
margin-right: 3px;
|
||||
width: 16px;
|
||||
}
|
||||
.commentIcon {
|
||||
background-position: -32px -16px;
|
||||
}
|
||||
.browserIcon {
|
||||
background-position: -128px -16px;
|
||||
}
|
||||
.goTopIcon {
|
||||
background-position: -128px -32px;
|
||||
}
|
||||
.goBottomIcon {
|
||||
background-position: -144px -32px;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
margin: 30px 0 30px 0;
|
||||
}
|
||||
|
||||
.content-reset {
|
||||
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
|
||||
word-wrap: break-word;
|
||||
overflow: auto;
|
||||
line-height: 1.5;
|
||||
font-size: 16px;
|
||||
word-break: break-all
|
||||
}
|
||||
.content-reset a {
|
||||
color: #ff4d3a;
|
||||
}
|
||||
.content-reset ul,
|
||||
.content-reset ol {
|
||||
padding-left: 2em;
|
||||
margin-top: 0;
|
||||
margin-bottom: 16px
|
||||
}
|
||||
.content-reset li {
|
||||
margin-top: 0.25em
|
||||
}
|
||||
.content-reset h1,
|
||||
.content-reset h2,
|
||||
.content-reset h3,
|
||||
.content-reset h4,
|
||||
.content-reset h5,
|
||||
.content-reset h6 {
|
||||
margin-top: 24px;
|
||||
margin-bottom: 16px;
|
||||
font-weight: 600;
|
||||
line-height: 1.25
|
||||
}
|
||||
.content-reset h1 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 2em;
|
||||
border-bottom: 1px solid #eee
|
||||
}
|
||||
.content-reset h2 {
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 1.5em;
|
||||
border-bottom: 1px solid #eee
|
||||
}
|
||||
.content-reset h3 {
|
||||
font-size: 1.25em
|
||||
}
|
||||
.content-reset h4 {
|
||||
font-size: 1em
|
||||
}
|
||||
.content-reset h5 {
|
||||
font-size: 0.875em
|
||||
}
|
||||
.content-reset h6 {
|
||||
font-size: 0.85em
|
||||
}
|
||||
.content-reset hr {
|
||||
height: 0.25em;
|
||||
padding: 0;
|
||||
margin: 24px 0;
|
||||
background-color: #e7e7e7;
|
||||
border: 0
|
||||
}
|
||||
.content-reset p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 16px
|
||||
}
|
||||
.content-reset blockquote {
|
||||
padding: 0 1em;
|
||||
color: #777;
|
||||
border-left: 0.25em solid #ddd;
|
||||
margin-bottom: 16px
|
||||
}
|
||||
.content-reset blockquote p {
|
||||
margin: 0
|
||||
}
|
||||
.content-reset iframe {
|
||||
border: 1px solid #ccc
|
||||
}
|
||||
.content-reset table {
|
||||
width: 100%;
|
||||
border: 1px solid #dedede;
|
||||
margin: 15px auto;
|
||||
border-collapse: collapse;
|
||||
empty-cells: show
|
||||
}
|
||||
.content-reset thead {
|
||||
text-align: center
|
||||
}
|
||||
.content-reset td,
|
||||
.content-reset th {
|
||||
height: 35px;
|
||||
border: 1px solid #dedede;
|
||||
padding: 0 10px
|
||||
}
|
||||
.content-reset th {
|
||||
font-weight: bold;
|
||||
text-align: center !important;
|
||||
background: rgba(158, 188, 226, 0.2)
|
||||
}
|
||||
.content-reset tbody tr:nth-child(2n) {
|
||||
background: rgba(158, 188, 226, 0.12)
|
||||
}
|
||||
.content-reset tr:hover {
|
||||
background: #efefef
|
||||
}
|
||||
.content-reset code {
|
||||
padding: 0.2em 0.4em;
|
||||
margin: 0;
|
||||
font-size: 85%;
|
||||
background-color: rgba(252, 41, 41, 0.12);
|
||||
border-radius: 3px;
|
||||
color: #d23f31;
|
||||
font-family: mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace
|
||||
}
|
||||
.content-reset pre>code {
|
||||
padding: 0.5em;
|
||||
border-radius: 0;
|
||||
color: #333;
|
||||
background-color: rgba(0, 0, 0, 0.04);
|
||||
background-image: url(../images/code-bg.png);
|
||||
background-size: 20px 20px;
|
||||
border-radius: 5px
|
||||
}
|
||||
.content-reset kbd {
|
||||
display: inline-block;
|
||||
padding: 3px 5px;
|
||||
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
||||
line-height: 10px;
|
||||
color: #555;
|
||||
vertical-align: middle;
|
||||
background-color: #fcfcfc;
|
||||
border: solid 1px #ccc;
|
||||
border-bottom-color: #bbb;
|
||||
border-radius: 3px;
|
||||
box-shadow: inset 0 -1px 0 #bbb
|
||||
}
|
||||
|
||||
.content-reset img {
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
border: 0;
|
||||
height: auto;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.has-toc > ul > li {
|
||||
list-style: none;
|
||||
float: left;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
margin: 15px 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.has-toc > ul > li.current {
|
||||
color: #3366CC;
|
||||
}
|
18
classic/css/classic.min.css
vendored
Normal file
18
classic/css/classic.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
101
classic/footer.ftl
Normal file
101
classic/footer.ftl
Normal file
@@ -0,0 +1,101 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<span style="color: gray;">© ${year}</span> - <a href="${servePath}">${blogTitle}</a>${footerContent}<br/>
|
||||
Powered by <a href="https://b3log.org" target="_blank">B3log 开源</a> • <a href="https://solo.b3log.org" target="_blank">Solo</a> ${version}
|
||||
|
||||
Theme <a rel="friend" href="https://github.com/b3log/solo-skins" target="_blank">classic</a>
|
||||
by <a rel="friend" href="http://vanessa.b3log.org" target="_blank">Vanessa</a>.
|
||||
<div class='goTopIcon' onclick='Util.goTop();'></div>
|
||||
<div class='goBottomIcon' onclick='Util.goBottom();'></div>
|
||||
<script type="text/javascript" src="${staticServePath}/js/lib/jquery/jquery.min.js" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="${staticServePath}/js/common${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
var latkeConfig = {
|
||||
"servePath": "${servePath}",
|
||||
"isLoggedIn": "${isLoggedIn?string}",
|
||||
"staticServePath": "${staticServePath}"
|
||||
};
|
||||
|
||||
var Label = {
|
||||
"skinDirName": "${skinDirName}",
|
||||
"em00Label": "${em00Label}",
|
||||
"em01Label": "${em01Label}",
|
||||
"em02Label": "${em02Label}",
|
||||
"em03Label": "${em03Label}",
|
||||
"em04Label": "${em04Label}",
|
||||
"em05Label": "${em05Label}",
|
||||
"em06Label": "${em06Label}",
|
||||
"em07Label": "${em07Label}",
|
||||
"em08Label": "${em08Label}",
|
||||
"em09Label": "${em09Label}",
|
||||
"em10Label": "${em10Label}",
|
||||
"em11Label": "${em11Label}",
|
||||
"em12Label": "${em12Label}",
|
||||
"em13Label": "${em13Label}",
|
||||
"em14Label": "${em14Label}"
|
||||
};
|
||||
|
||||
var collapseArchive = function (it, year) {
|
||||
var tag = true,
|
||||
text = it.innerHTML;
|
||||
if (text.indexOf("-") > -1) {
|
||||
it.innerHTML = text.replace("-", "+");
|
||||
tag = false;
|
||||
} else {
|
||||
it.innerHTML = text.replace("+", "-");
|
||||
}
|
||||
|
||||
$("#archiveSide li").each(function () {
|
||||
var $this = $(this);
|
||||
// hide other year month archives
|
||||
if ($this.data("year") === year) {
|
||||
if (tag) {
|
||||
$(this).show();
|
||||
} else {
|
||||
$(this).hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
var currentYear = (new Date()).getFullYear(),
|
||||
year = currentYear;
|
||||
$("#archiveSide li").each(function (i) {
|
||||
var $this = $(this);
|
||||
|
||||
// hide other year month archives
|
||||
if ($this.data("year") !== currentYear) {
|
||||
$(this).hide()
|
||||
}
|
||||
|
||||
// append year archive
|
||||
if (year !== $this.data("year")) {
|
||||
year = $this.data("year");
|
||||
$this.before("<li class='pointer'><div onclick='collapseArchive(this, " +
|
||||
year + ")'>" + year + " \u5e74 +</div></li>");
|
||||
}
|
||||
});
|
||||
|
||||
Util.init();
|
||||
Util.replaceSideEm($("#recentComments li .side-comment"));
|
||||
});
|
||||
</script>
|
||||
${plugins}
|
59
classic/header.ftl
Normal file
59
classic/header.ftl
Normal file
@@ -0,0 +1,59 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<div class="marginBottom12">
|
||||
<h1 class="title">
|
||||
<a href="${servePath}" id="logoTitle" >
|
||||
${blogTitle}
|
||||
</a>
|
||||
<span class="sub-title">${blogSubtitle}</span>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="left">
|
||||
<#list pageNavigations as page>
|
||||
<span>
|
||||
<a href="${page.pagePermalink}" target="${page.pageOpenTarget}"><#if page.pageIcon != ''><img class="page-icon" src="${page.pageIcon}"></#if>${page.pageTitle}</a>
|
||||
</span>
|
||||
</#list>
|
||||
<a href="${servePath}/tags.html">${allTagsLabel}</a>
|
||||
<a rel="alternate" href="${servePath}/blog-articles-rss.do">RSS</a><a href="${servePath}/blog-articles-rss.do"><img src="${staticServePath}/images/feed.png" alt="RSS"/></a>
|
||||
<a href="${servePath}/search?keyword=">Search</a>
|
||||
</div>
|
||||
<div class="right" id="statistic">
|
||||
<span>${viewCount1Label}
|
||||
<span class='error-msg'>
|
||||
${statistic.statisticBlogViewCount}
|
||||
</span>
|
||||
|
||||
</span>
|
||||
<span>
|
||||
${articleCount1Label}
|
||||
<span class='error-msg'>
|
||||
${statistic.statisticPublishedBlogArticleCount}
|
||||
</span>
|
||||
|
||||
</span>
|
||||
<span>
|
||||
${commentCount1Label}
|
||||
<span class='error-msg'>
|
||||
${statistic.statisticPublishedBlogCommentCount}
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="clear"></div>
|
BIN
classic/images/code-bg.png
Normal file
BIN
classic/images/code-bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 343 B |
53
classic/index.ftl
Normal file
53
classic/index.ftl
Normal file
@@ -0,0 +1,53 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${blogTitle}">
|
||||
<#if metaKeywords??>
|
||||
<meta name="keywords" content="${metaKeywords}"/>
|
||||
</#if>
|
||||
<#if metaDescription??>
|
||||
<meta name="description" content="${metaDescription}"/>
|
||||
</#if>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
262
classic/lang/lang_en_US.properties
Normal file
262
classic/lang/lang_en_US.properties
Normal file
@@ -0,0 +1,262 @@
|
||||
#
|
||||
# Solo - A small and beautiful blogging system written in Java.
|
||||
# Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Solo language configurations(en_US).
|
||||
# Version: 1.1.6.5, Mar 14, 2017
|
||||
# Author: Liang Ding
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
|
||||
tocLabel=Article ToC
|
||||
siteViewLabel=Site
|
||||
adminConsoleLabel=Admin
|
||||
adminIndexLabel=Admin Index
|
||||
postArticleLabel=Post
|
||||
articleListLabel=Articles
|
||||
commentListLabel=Comments
|
||||
draftListLabel=Drafts
|
||||
userManageLabel=Users
|
||||
commonUserLabel=Common User
|
||||
addUserLabel=Add User
|
||||
updateUserLabel=Update User
|
||||
linkManagementLabel=Links
|
||||
pluginMgmtLabel=Plugins
|
||||
pluginNameLabel=Name
|
||||
versionLabel=Version
|
||||
statusLabel=Status
|
||||
enabledLabel=Enabled
|
||||
disabledLabel=Disabled
|
||||
enableLabel=Enable
|
||||
disableLabel=Disable
|
||||
preferenceLabel=Preference
|
||||
localeString1Label=Language:
|
||||
timeZoneId1Label=Time Zone:
|
||||
adminLabel=Admin
|
||||
administratorLabel=Administrator
|
||||
loginLabel=Login
|
||||
logoutLabel=Logout
|
||||
initLabel=Initial
|
||||
popTagsLabel=Popular Tags
|
||||
tag1Label=Tag:
|
||||
tags1Label=Tags:
|
||||
recentArticlesLabel=Recent Articles
|
||||
recentCommentsLabel=Recent Comments
|
||||
postCommentsLabel=Post Comment
|
||||
mostCommentArticlesLabel=Most Comment Articles
|
||||
mostViewCountArticlesLabel=Most View Articles
|
||||
linkLabel=Friend Links
|
||||
sumLabel=
|
||||
pageLabel=Page
|
||||
commentLabel=Comment
|
||||
linkTitleLabel=Link Title
|
||||
linkTitle1Label=Title:
|
||||
updateLabel=Update
|
||||
removeLabel=Remove
|
||||
putTopLabel=Put Top
|
||||
cancelPutTopLabel=Cancel Put Top
|
||||
downloadCountLabel=Count
|
||||
sizeLabel=Size
|
||||
uploadDateLabel=Upload Date
|
||||
downloadURLLabel=Download URL
|
||||
downloadLabel=Download
|
||||
createDateLabel=Create Date
|
||||
updateDateLabel=Update Date
|
||||
titleLabel=Title
|
||||
title1Label=Title:
|
||||
content1Label=Content:
|
||||
abstract1Label=Summary:
|
||||
publishLabel=Publish
|
||||
unPublishLabel=Un Publish
|
||||
urlLabel=URL
|
||||
url1Label=URL (start protocol, e.g.: http://):
|
||||
addLinkLabel=Add Link
|
||||
updateLinkLabel=Update Link
|
||||
archiveLabel=Archive
|
||||
archive1Label=archive:
|
||||
yearLabel=
|
||||
monthLabel=
|
||||
pageLabel=Page
|
||||
pageMgmtLabel=Pages
|
||||
othersLabel=Others
|
||||
fileListLabel=Files
|
||||
submitUploadLabel=Upload
|
||||
fileNameLabel=File Name
|
||||
paramSettingsLabel=Parameters
|
||||
skinLabel=Skins
|
||||
signLabel=Signs
|
||||
sign1Label=Signs:
|
||||
noSignLabel=No Signs
|
||||
signIsNullLabel=This Sign is Null
|
||||
statisticLabel=Blog Statistic
|
||||
viewLabel=View
|
||||
countLabel=Posts
|
||||
viewCount1Label=View Count:
|
||||
articleCount1Label=Article Count:
|
||||
commentCountLabel=Comment Count
|
||||
commentCount1Label=Comment Count:
|
||||
commentEmotions1Label=Emotions:
|
||||
commentEmotionsLabel=Emotions
|
||||
commentName1Label=Name:
|
||||
commentNameLabel=Name
|
||||
commentEmail1Label=Email:
|
||||
commentEmailLabel=Email
|
||||
commentURL1Label=URL:
|
||||
commentURLLabel=URL
|
||||
commentContent1Label=Content:
|
||||
commentContentLabel=Content
|
||||
getDateLabel=Get Date
|
||||
getArticleLabel=Get Article
|
||||
selectDateLabel=Select Date
|
||||
selectDate1Label=Select Date:
|
||||
importLabel=Import
|
||||
chooseBlog1Label=Choose Blog:
|
||||
blogArticleImportLabel=Article Import
|
||||
userName1Label=Username:
|
||||
userPassword1Label=Password:
|
||||
categoryLabel=Category
|
||||
noticeBoard1Label=Notice Board:
|
||||
noticeBoardLabel=Notice Board
|
||||
htmlhead1Label=HTML head:
|
||||
indexTagDisplayCnt1Label=Index Tag Display Count:
|
||||
indexRecentArticleDisplayCnt1Label=Recent Article Display Count:
|
||||
indexRecentCommentDisplayCnt1Label=Recent Comment Display Count:
|
||||
indexMostCommentArticleDisplayCnt1Label=Most Comment Article Display Count:
|
||||
indexMostViewArticleDisplayCnt1Label=Most View Article Display Count:
|
||||
relevantArticlesDisplayCnt1Label=Relevant Article Display Count:
|
||||
randomArticlesDisplayCnt1Label=Random Article Display Count:
|
||||
externalRelevantArticlesDisplayCnt1Label=External Relevant Article Display Count:
|
||||
windowSize1Label=Pagination Window Size:
|
||||
pageSize1Label=Pagination Page Size:
|
||||
blogTitle1Label=Blog Title:
|
||||
blogSubtitle1Label=Blog Subtitle:
|
||||
blogHost1Label=Blog Host:
|
||||
submmitCommentLabel=Commit Comment
|
||||
saveLabel=Save
|
||||
tagLabel=Tag
|
||||
tagsLabel=Tags
|
||||
importedLabel=Imported
|
||||
captcha1Label=Captcha:
|
||||
captchaLabel=Captcha
|
||||
indexLabel=Index
|
||||
nextArticle1Label=Next:
|
||||
previousArticle1Label=Previous:
|
||||
updatedLabel=Updated!
|
||||
topArticleLabel=Top!
|
||||
CSDNBlogLabel=CSDN Blog
|
||||
BlogJavaLabel=BlogJava
|
||||
CnBlogsLabel=CnBlogs
|
||||
previousPageLabel=Previous Page
|
||||
nextPagePabel=Next Page
|
||||
firstPageLabel=First Page
|
||||
lastPageLabel=Last Page
|
||||
returnTo1Label=Return to:
|
||||
tencentLabel=Tencent
|
||||
appKey1Label=App Key:
|
||||
appSecret1Label=App Secret:
|
||||
postToTencentMicroblogWhilePublishArticleLabel=Post to Tencent microblog while publish an article:
|
||||
postToCommunityLabel=Post to Community:
|
||||
authorizeTencentMicroblog1Label=Click to authorize:
|
||||
googleLabel=Google
|
||||
OAuthConsumerSecret1Label=OAuth Consumer Secret:
|
||||
atomLabel=Atom
|
||||
relevantArticles1Label=Relevant Articles:
|
||||
randomArticles1Label=Random Articles:
|
||||
externalRelevantArticles1Label=External Relevant Articles:
|
||||
metaKeywords1Label=Meta Keywords:
|
||||
metaDescription1Label=Meta Description:
|
||||
removeUnusedTagsLabel=Remove Unused Tags
|
||||
goTopLabel=Top
|
||||
permalink1Label=Permalink:
|
||||
permalinkLabel=Permalink
|
||||
b3logLabel=<span style="color: orange;">B</span><span style="color: blue;"><sup>3</sup></span><span style="color: green;">L</span><span style="color: red;">O</span><span style="color: blue;">G</span>
|
||||
killBrowserLabel=<h2>Let's kill outdated and insecure browser!</h2><p>Let's kill outdated and insecure browser for browser evolution, human progress and better experience.</p><p>You can download</p><ul><li><a href="http://www.mozilla.com/" target="_blank">Firefox</a></li><li><a href="http://www.google.com/chrome" target="_blank">Chrome</a></li><li><a href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie" target="_blank">IE8 / IE9</a></li><li><a href="http://www.maxthon.com/" target="_blank">Maxthon</a> and <a href="http://www.google.com" target="_blank">so on</a>.</li></ul>
|
||||
readmoreLabel=Read more\u00BB
|
||||
readmore2Label=Read more
|
||||
replyLabel=Reply\u00BB
|
||||
homeLabel=Home
|
||||
enableArticleUpdateHint1Label=Enable Article Update Hint:
|
||||
allowVisitDraftViaPermalink1Label=Allow Visit Draft Via Link:
|
||||
author1Label=Author:
|
||||
authorLabel=Author
|
||||
keyOfSolo1Label=Solo Key:
|
||||
articleLabel=Article
|
||||
tagArticlesLabel=Tag Articles
|
||||
dateArticlesLabel=Archive Date Articles
|
||||
authorArticlesLabel=Author Articles
|
||||
indexArticleLabel=Index Articles
|
||||
allTagsLabel=Tag Cloud
|
||||
customizedPageLabel=Customized Page
|
||||
killBrowserPageLabel=Kill Browser Page
|
||||
pageNumLabel=Page Number
|
||||
####
|
||||
forbiddenLabel=Forbidden Access!
|
||||
sorryLabel=Sorry!
|
||||
notFoundLabel=Not Found!
|
||||
unPulbishSuccLabel=Un Publish Successfully
|
||||
unPulbishFailLabel=Un Publish Fail
|
||||
removeSuccLabel=Remove Successfully
|
||||
removeFailLabel=Remove Fail
|
||||
removeUserFailSkinNeedMulUsersLabel=Remove Fail, the current skin need multiple users!
|
||||
putTopSuccLabel=Put Top Successfully
|
||||
putTopFailLabel=Put Top Fail
|
||||
cancelTopSuccLabel=Cancel Top Successfully
|
||||
cancelTopFailLabel=Cancel Top Fail
|
||||
addSuccLabel=Add Successfully
|
||||
addFailLabel=Add Fail
|
||||
updateSuccLabel=Update Successfully
|
||||
updateFailLabel=Update Fail
|
||||
updatePreferenceFailNeedMulUsersLabel=Update Fail, the selected skin need multiple users!
|
||||
setFailLabel=Set Fail
|
||||
setSuccLabel=Set Successfully
|
||||
getFailLabel=Get Fail
|
||||
noSettingLabel=No Setting
|
||||
getSuccLabel=Get Successfully
|
||||
importSuccLabel=Import Successfully :-)
|
||||
importFailLabel=Some Import Fail %>_<%
|
||||
noCommentLabel=No Comment
|
||||
captchaErrorLabel=Captcha Error
|
||||
inputErrorLabel=Input Error!
|
||||
gotoLabel=Go
|
||||
nameEmptyLabel=Username is empty
|
||||
passwordEmptyLabel=Password is empty
|
||||
blogEmptyLabel=Blogging service is empty
|
||||
blogArticleEmptyLabel=Please select articles
|
||||
nameTooLongLabel=Sorry, your username must be between 2 and 20 characters long.
|
||||
mailCannotEmptyLabel=Mail is empty
|
||||
mailInvalidLabel=Mail is invalid
|
||||
commentContentCannotEmptyLabel=Sorry, your content must be between 2 and 500 characters long.
|
||||
captchaCannotEmptyLabel=Captcha is empty
|
||||
loadingLabel=Loading....
|
||||
titleEmptyLabel=Title is empty
|
||||
contentEmptyLabel=Content is empty
|
||||
orderEmptyLabel=Order is empty
|
||||
abstractEmptyLabel=Abstract is empty
|
||||
tagsEmptyLabel=Tags is empty
|
||||
addressEmptyLabel=Address is empty
|
||||
noAuthorizationURLLabel=Can not retrieve authorization URL from Google, please \
|
||||
make sure the <em>Consumer Secret</em> you typed in and then try again.
|
||||
duplicatedPermalinkLabel=Duplicated permalink!
|
||||
invalidPermalinkFormatLabel=Invalid permalink format!
|
||||
duplicatedEmailLabel=Duplicated email!
|
||||
refreshAndRetryLabel=Please refresh and try again!
|
||||
editorLeaveLabel=Content is not null, Do you leave\uFF1F
|
||||
editorPostLabel=Content is not null, Do you clear\uFF1F
|
||||
####
|
||||
confirmRemoveLabel=Are You Sure?
|
||||
confirmInitLabel=Are You Sure?
|
268
classic/lang/lang_zh_CN.properties
Normal file
268
classic/lang/lang_zh_CN.properties
Normal file
@@ -0,0 +1,268 @@
|
||||
#
|
||||
# Solo - A small and beautiful blogging system written in Java.
|
||||
# Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Solo default language configurations(zh_CN).
|
||||
# Version: 1.1.6.5, Mar 14, 2017
|
||||
# Author: Liang Ding
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
|
||||
siteViewLabel=\u7AD9\u70B9\u6982\u89C8
|
||||
tocLabel=\u6587\u7AE0\u76EE\u5F55
|
||||
adminConsoleLabel=\u540E\u53F0\u7BA1\u7406
|
||||
adminIndexLabel=\u540E\u53F0\u9996\u9875
|
||||
postArticleLabel=\u53D1\u5E03\u6587\u7AE0
|
||||
articleListLabel=\u6587\u7AE0\u7BA1\u7406
|
||||
commentListLabel=\u8BC4\u8BBA\u7BA1\u7406
|
||||
draftListLabel=\u8349\u7A3F\u5939
|
||||
userManageLabel=\u7528\u6237\u7BA1\u7406
|
||||
commonUserLabel=\u4E00\u822C\u7528\u6237
|
||||
addUserLabel=\u6DFB\u52A0\u7528\u6237
|
||||
updateUserLabel=\u66F4\u65B0\u7528\u6237
|
||||
linkManagementLabel=\u94FE\u63A5\u7BA1\u7406
|
||||
pluginMgmtLabel=\u63D2\u4EF6\u7BA1\u7406
|
||||
pluginNameLabel=\u63D2\u4EF6\u540D
|
||||
versionLabel=\u7248\u672C
|
||||
statusLabel=\u72B6\u6001
|
||||
enabledLabel=\u5DF2\u542F\u7528
|
||||
disabledLabel=\u5DF2\u7981\u7528
|
||||
enableLabel=\u542F\u7528
|
||||
disableLabel=\u7981\u7528
|
||||
preferenceLabel=\u504F\u597D\u8BBE\u5B9A
|
||||
localeString1Label=\u8BED\u8A00\uFF1A
|
||||
timeZoneId1Label=\u65F6\u533A\uFF1A
|
||||
adminLabel=\u7BA1\u7406
|
||||
administratorLabel=\u7BA1\u7406\u5458
|
||||
loginLabel=\u767B\u5F55
|
||||
logoutLabel=\u767B\u51FA
|
||||
initLabel=\u521D\u59CB\u5316
|
||||
popTagsLabel=\u5206\u7C7B\u6807\u7B7E
|
||||
tag1Label=\u6807\u7B7E\uFF1A
|
||||
tags1Label=\u6807\u7B7E\uFF1A
|
||||
recentArticlesLabel=\u6700\u65B0\u6587\u7AE0
|
||||
recentCommentsLabel=\u6700\u65B0\u8BC4\u8BBA
|
||||
postCommentsLabel=\u53D1\u8868\u8BC4\u8BBA
|
||||
mostCommentArticlesLabel=\u8BC4\u8BBA\u6700\u591A\u7684\u6587\u7AE0
|
||||
mostViewCountArticlesLabel=\u8BBF\u95EE\u6700\u591A\u7684\u6587\u7AE0
|
||||
linkLabel=\u53CB\u60C5\u94FE\u63A5
|
||||
sumLabel=\u5171
|
||||
pageLabel=\u9875
|
||||
commentLabel=\u8BC4\u8BBA
|
||||
linkTitleLabel=\u94FE\u63A5\u6807\u9898
|
||||
linkTitle1Label=\u6807\u9898\uFF1A
|
||||
updateLabel=\u66F4\u65B0
|
||||
removeLabel=\u5220\u9664
|
||||
putTopLabel=\u7F6E\u9876
|
||||
cancelPutTopLabel=\u53D6\u6D88\u7F6E\u9876
|
||||
downloadCountLabel=\u4E0B\u8F7D\u6B21\u6570
|
||||
sizeLabel=\u5927\u5C0F
|
||||
uploadDateLabel=\u4E0A\u4F20\u65E5\u671F
|
||||
downloadURLLabel=\u4E0B\u8F7D\u5730\u5740
|
||||
downloadLabel=\u4E0B\u8F7D
|
||||
createDateLabel=\u521B\u5EFA\u65E5\u671F
|
||||
updateDateLabel=\u66F4\u65B0\u65E5\u671F
|
||||
titleLabel=\u6807\u9898
|
||||
title1Label=\u6807\u9898\uFF1A
|
||||
content1Label=\u6B63\u6587\uFF1A
|
||||
abstract1Label=\u6458\u8981\uFF1A
|
||||
publishLabel=\u53D1\u5E03
|
||||
unPublishLabel=\u53D6\u6D88\u53D1\u5E03
|
||||
urlLabel=URL
|
||||
url1Label=URL (\u8BF7\u4EE5\u534F\u8BAE\u5F00\u5934\uFF0C\u5982: http://)\uFF1A
|
||||
addLinkLabel=\u6DFB\u52A0\u94FE\u63A5
|
||||
updateLinkLabel=\u66F4\u65B0\u94FE\u63A5
|
||||
archiveLabel=\u5B58\u6863
|
||||
archive1Label=\u5B58\u6863\uFF1A
|
||||
yearLabel=\u5E74
|
||||
monthLabel=\u6708
|
||||
blogSyncLabel=\u535A\u5BA2\u540C\u6B65
|
||||
pageLabel=\u9875\u9762
|
||||
pageMgmtLabel=\u9875\u9762\u7BA1\u7406
|
||||
othersLabel=\u5176\u4ED6
|
||||
fileListLabel=\u6587\u4EF6\u7BA1\u7406
|
||||
submitUploadLabel=\u4E0A\u4F20
|
||||
fileNameLabel=\u6587\u4EF6\u540D
|
||||
paramSettingsLabel=\u53C2\u6570\u8BBE\u7F6E
|
||||
skinLabel=\u76AE\u80A4
|
||||
signLabel=\u7B7E\u540D\u6863
|
||||
sign1Label=\u7B7E\u540D\u6863\uFF1A
|
||||
noSignLabel=\u4E0D\u4F7F\u7528\u7B7E\u540D\u6863
|
||||
signIsNullLabel=\u8BE5\u7B7E\u540D\u6863\u4E3A\u7A7A
|
||||
statisticLabel=\u535A\u5BA2\u7EDF\u8BA1
|
||||
viewLabel=\u6D4F\u89C8
|
||||
countLabel=\u7BC7
|
||||
viewCount1Label=\u6D4F\u89C8\u6B21\u6570\uFF1A
|
||||
articleCount1Label=\u6587\u7AE0\u603B\u6570\uFF1A
|
||||
commentCountLabel=\u8BC4\u8BBA\u6570
|
||||
commentCount1Label=\u8BC4\u8BBA\u603B\u6570\uFF1A
|
||||
commentEmotions1Label=\u8868\u60C5\uFF1A
|
||||
commentEmotionsLabel=\u8868\u60C5
|
||||
commentName1Label=\u59D3\u540D\uFF1A
|
||||
commentNameLabel=\u59D3\u540D
|
||||
commentEmail1Label=\u90AE\u7BB1\uFF1A
|
||||
commentEmailLabel=\u90AE\u7BB1
|
||||
commentURL1Label=URL\uFF1A
|
||||
commentURLLabel=URL
|
||||
commentContent1Label=\u8BC4\u8BBA\u5185\u5BB9\uFF1A
|
||||
commentContentLabel=\u8BC4\u8BBA\u5185\u5BB9
|
||||
getDateLabel=\u83B7\u53D6\u65E5\u671F
|
||||
getArticleLabel=\u83B7\u53D6\u6587\u7AE0
|
||||
selectDateLabel=\u9009\u62E9\u65E5\u671F
|
||||
selectDate1Label=\u9009\u62E9\u65E5\u671F\uFF1A
|
||||
importLabel=\u5BFC\u5165
|
||||
chooseBlog1Label=\u8BF7\u9009\u62E9\u9700\u8981\u7BA1\u7406\u7684\u535A\u5BA2\uFF1A
|
||||
blogArticleImportLabel=\u6587\u7AE0\u5BFC\u5165
|
||||
blogSyncMgmtLabel=\u535A\u5BA2\u540C\u6B65\u7BA1\u7406
|
||||
syncMgmtLabel=\u540C\u6B65\u7BA1\u7406\u535A\u5BA2
|
||||
userName1Label=\u7528\u6237\u540D\uFF1A
|
||||
userPassword1Label=\u5BC6\u7801\uFF1A
|
||||
syncPostLabel=\u540C\u6B65\u53D1\u5E03
|
||||
syncUpdateLabel=\u540C\u6B65\u66F4\u65B0
|
||||
syncRemoveLabel=\u540C\u6B65\u5220\u9664
|
||||
categoryLabel=\u5206\u7C7B
|
||||
noticeBoard1Label=\u516C\u544A\uFF1A
|
||||
noticeBoardLabel=\u516C\u544A
|
||||
htmlhead1Label=HTML head\uFF1A
|
||||
indexTagDisplayCnt1Label= \u9996\u9875\u6807\u7B7E\u663E\u793A\u6570\uFF1A
|
||||
indexRecentArticleDisplayCnt1Label=\u6700\u65B0\u6587\u7AE0\u663E\u793A\u6570\u76EE\uFF1A
|
||||
indexRecentCommentDisplayCnt1Label=\u6700\u65B0\u8BC4\u8BBA\u663E\u793A\u6570\u76EE\uFF1A
|
||||
indexMostCommentArticleDisplayCnt1Label=\u8BC4\u8BBA\u6700\u591A\u6587\u7AE0\u663E\u793A\u6570\u76EE\uFF1A
|
||||
indexMostViewArticleDisplayCnt1Label=\u8BBF\u95EE\u6700\u591A\u6700\u591A\u6587\u7AE0\u663E\u793A\u6570\u76EE\uFF1A
|
||||
relevantArticlesDisplayCnt1Label=\u76F8\u5173\u9605\u8BFB\u663E\u793A\u6570\u76EE\uFF1A
|
||||
randomArticlesDisplayCnt1Label=\u968F\u673A\u9605\u8BFB\u663E\u793A\u6570\u76EE\uFF1A
|
||||
externalRelevantArticlesDisplayCnt1Label=\u7AD9\u5916\u76F8\u5173\u9605\u8BFB\u663E\u793A\u6570\u76EE\uFF1A
|
||||
windowSize1Label=\u5206\u9875\u9875\u7801\u6700\u5927\u5BBD\u5EA6\uFF1A
|
||||
pageSize1Label=\u5206\u9875\u6BCF\u9875\u663E\u793A\u6587\u7AE0\u6570\uFF1A
|
||||
blogTitle1Label=\u535A\u5BA2\u6807\u9898\uFF1A
|
||||
blogSubtitle1Label=\u535A\u5BA2\u5B50\u6807\u9898\uFF1A
|
||||
blogHost1Label=\u535A\u5BA2\u5730\u5740\uFF1A
|
||||
submmitCommentLabel=\u63D0\u4EA4\u8BC4\u8BBA
|
||||
saveLabel=\u4FDD\u5B58
|
||||
tagLabel=\u6807\u7B7E
|
||||
tagsLabel=\u6807\u7B7E
|
||||
importedLabel=\u5DF2\u5BFC\u5165
|
||||
captcha1Label=\u9A8C\u8BC1\u7801\uFF1A
|
||||
captchaLabel=\u9A8C\u8BC1\u7801
|
||||
indexLabel=\u9996\u9875
|
||||
nextArticle1Label=\u65B0\u4E00\u7BC7\uFF1A
|
||||
previousArticle1Label=\u65E7\u4E00\u7BC7\uFF1A
|
||||
updatedLabel=\u6709\u66F4\u65B0\uFF01
|
||||
topArticleLabel=\u7F6E\u9876\uFF01
|
||||
CSDNBlogLabel=CSDN \u535A\u5BA2
|
||||
BlogJavaLabel=BlogJava
|
||||
CnBlogsLabel=\u535A\u5BA2\u56ED
|
||||
previousPageLabel=\u4E0A\u4E00\u9875
|
||||
nextPagePabel=\u4E0B\u4E00\u9875
|
||||
firstPageLabel=\u7B2C\u4E00\u9875
|
||||
lastPageLabel=\u6700\u540E\u4E00\u9875
|
||||
returnTo1Label=\u8FD4\u56DE\uFF1A
|
||||
tencentLabel=\u817E\u8BAF
|
||||
appKey1Label=App Key:
|
||||
appSecret1Label=App Secret:
|
||||
postToTencentMicroblogWhilePublishArticleLabel=\u53D1\u6587\u7AE0\u65F6\u540C\u6B65\u5230\u817E\u8BAF\u5FAE\u535A\uFF1A
|
||||
postToCommunityLabel=\u53D1\u5E03\u5230\u793E\u533A\uFF1A
|
||||
authorizeTencentMicroblog1Label=\u70B9\u51FB\u56FE\u6807\u8FDB\u884C\u6388\u6743:
|
||||
googleLabel=Google
|
||||
OAuthConsumerSecret1Label=OAuth Consumer Secret\uFF1A
|
||||
atomLabel=Atom
|
||||
relevantArticles1Label=\u76F8\u5173\u9605\u8BFB\uFF1A
|
||||
randomArticles1Label=\u968F\u673A\u9605\u8BFB\uFF1A
|
||||
externalRelevantArticles1Label=\u7AD9\u5916\u76F8\u5173\u9605\u8BFB\uFF1A
|
||||
metaKeywords1Label=Meta Keywords:
|
||||
metaDescription1Label=Meta Description:
|
||||
removeUnusedTagsLabel=\u79FB\u9664\u672A\u4F7F\u7528\u6807\u7B7E
|
||||
goTopLabel=\u9876\u90E8
|
||||
permalink1Label=\u94FE\u63A5\uFF1A
|
||||
permalinkLabel=\u94FE\u63A5
|
||||
b3logLabel=<span style="color: orange;">B</span><span style="color: blue;"><sup>3</sup></span><span style="color: green;">L</span><span style="color: red;">O</span><span style="color: blue;">G</span>
|
||||
killBrowserLabel=<h2>\u8BA9\u6211\u4EEC\u653E\u5F03\u4F7F\u7528\u90A3\u4E9B\u8FC7\u65F6\u3001\u4E0D\u5B89\u5168\u7684\u6D4F\u89C8\u5668\u5427\uFF01</h2><p>\u4E3A\u4E86\u8BA9\u6D4F\u89C8\u5668\u66F4\u597D\u7684\u53D1\u5C55\uFF0C\u4EBA\u7C7B\u66F4\u52A0\u7684\u8FDB\u6B65\uFF0C\u62E5\u6709\u66F4\u597D\u7684\u4F53\u9A8C\uFF0C\u8BA9\u6211\u4EEC\u653E\u5F03\u4F7F\u7528\u90A3\u4E9B\u8FC7\u65F6\u3001\u4E0D\u5B89\u5168\u7684\u6D4F\u89C8\u5668\u3002</p>\u60A8\u53EF\u4EE5\u4E0B\u8F7D<ul><li><a href="http://www.mozilla.com/" target="_blank">\u706B\u72D0</a></li><li><a href="http://www.google.com/chrome" target="_blank">\u8C37\u6B4C\u6D4F\u89C8\u5668</a></li><li><a href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie" target="_blank">IE8 / IE9</a></li><li><a href="http://www.maxthon.com/" target="_blank">\u9068\u6E38</a>\u6216\u8005<a href="http://www.google.com" target="_blank">\u5176\u5B83\u6D4F\u89C8\u5668</a>.</li></ul>
|
||||
readmoreLabel=\u9605\u8BFB\u66F4\u591A\u00BB
|
||||
readmore2Label=\u9605\u8BFB\u66F4\u591A
|
||||
replyLabel=\u56DE\u590D\u00BB
|
||||
homeLabel=\u9996\u9875
|
||||
enableArticleUpdateHint1Label=\u542F\u7528\u6587\u7AE0\u66F4\u65B0\u63D0\u793A\uFF1A
|
||||
allowVisitDraftViaPermalink1Label=\u5141\u8BB8\u901A\u8FC7\u94FE\u63A5\u8BBF\u95EE\u8349\u7A3F\uFF1A
|
||||
author1Label=\u4F5C\u8005\uFF1A
|
||||
authorLabel=\u4F5C\u8005
|
||||
keyOfSolo1Label=Solo Key\uFF1A
|
||||
articleLabel=\u6587\u7AE0
|
||||
tagArticlesLabel=\u6807\u7B7E\u6587\u7AE0\u5217\u8868
|
||||
dateArticlesLabel=\u5B58\u6863\u6587\u7AE0\u5217\u8868
|
||||
authorArticlesLabel=\u4F5C\u8005\u6587\u7AE0\u5217\u8868
|
||||
indexArticleLabel=\u9996\u9875\u6587\u7AE0\u5217\u8868
|
||||
allTagsLabel=\u6807\u7B7E\u5899
|
||||
customizedPageLabel=\u81EA\u5B9A\u4E49\u9875\u9762
|
||||
killBrowserPageLabel=Kill Browser Page
|
||||
pageNumLabel=\u9875\u53F7
|
||||
####
|
||||
forbiddenLabel=\u64CD\u4F5C\u88AB\u7981\u6B62\uFF01
|
||||
sorryLabel=\u5BF9\u4E0D\u8D77\uFF01
|
||||
notFoundLabel=\u627E\u4E0D\u5230\uFF01
|
||||
unPulbishSuccLabel=\u53D6\u6D88\u53D1\u5E03\u6210\u529F
|
||||
unPulbishFailLabel=\u53D6\u6D88\u53D1\u5E03\u5931\u8D25
|
||||
removeSuccLabel=\u5220\u9664\u6210\u529F
|
||||
removeFailLabel=\u5220\u9664\u5931\u8D25
|
||||
removeUserFailSkinNeedMulUsersLabel=\u5220\u9664\u5931\u8D25\uFF0C\u5F53\u524D\u4F7F\u7528\u7684\u76AE\u80A4\u9700\u8981\u591A\u7528\u6237\u652F\u6301
|
||||
putTopSuccLabel=\u7F6E\u9876\u6210\u529F
|
||||
putTopFailLabel=\u7F6E\u9876\u5931\u8D25
|
||||
cancelTopSuccLabel=\u53D6\u6D88\u7F6E\u9876\u6210\u529F
|
||||
cancelTopFailLabel=\u53D6\u6D88\u7F6E\u9876\u5931\u8D25
|
||||
addSuccLabel=\u6DFB\u52A0\u6210\u529F
|
||||
addFailLabel=\u6DFB\u52A0\u5931\u8D25
|
||||
updateSuccLabel=\u66F4\u65B0\u6210\u529F
|
||||
updateFailLabel=\u66F4\u65B0\u5931\u8D25
|
||||
updatePreferenceFailNeedMulUsersLabel=\u66F4\u65B0\u5931\u8D25\uFF0C\u9700\u8981\u591A\u7528\u6237\u624D\u80FD\u4F7F\u7528\u9009\u62E9\u7684\u76AE\u80A4
|
||||
setFailLabel=\u8BBE\u7F6E\u5931\u8D25
|
||||
setSuccLabel=\u8BBE\u7F6E\u6210\u529F
|
||||
getFailLabel=\u83B7\u53D6\u5931\u8D25
|
||||
noSettingLabel=\u8BE5\u535A\u5BA2\u65E0\u8D26\u53F7\uFF0C\u8BF7\u6DFB\u52A0
|
||||
getSuccLabel=\u83B7\u53D6\u6210\u529F
|
||||
importSuccLabel=\u5BFC\u5165\u6210\u529F :-)
|
||||
importFailLabel=\u90E8\u5206\u5BFC\u5165\u5931\u8D25 %>_<%
|
||||
noCommentLabel=\u6682\u65E0\u8BC4\u8BBA
|
||||
captchaErrorLabel=\u9A8C\u8BC1\u7801\u9519\u8BEF
|
||||
inputErrorLabel=\u8F93\u5165\u9519\u8BEF\uFF01
|
||||
gotoLabel=\u8DF3\u8F6C
|
||||
nameEmptyLabel=\u59D3\u540D\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
passwordEmptyLabel=\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
blogEmptyLabel=\u8BF7\u9009\u62E9\u535A\u5BA2\u670D\u52A1\uFF01
|
||||
blogArticleEmptyLabel=\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u5165\u7684\u6587\u7AE0
|
||||
nameTooLongLabel=\u59D3\u540D\u53EA\u80FD\u4E3A 2 \u5230 20 \u4E2A\u5B57\u7B26\uFF01
|
||||
mailCannotEmptyLabel=\u90AE\u7BB1\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
mailInvalidLabel=\u90AE\u7BB1\u683C\u5F0F\u4E0D\u6B63\u786E\uFF01
|
||||
commentContentCannotEmptyLabel=\u8BC4\u8BBA\u5185\u5BB9\u53EA\u80FD\u4E3A 2 \u5230 500 \u4E2A\u5B57\u7B26\uFF01
|
||||
captchaCannotEmptyLabel=\u9A8C\u8BC1\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
loadingLabel=\u8F7D\u5165\u4E2D....
|
||||
titleEmptyLabel=\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
contentEmptyLabel=\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
orderEmptyLabel=\u5E8F\u53F7\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
abstractEmptyLabel=\u6458\u8981\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
tagsEmptyLabel=\u6807\u7B7E\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
addressEmptyLabel=\u5730\u5740\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
noAuthorizationURLLabel=\u4ECE Google \u83B7\u53D6\u6388\u6743\u5730\u5740\u5931\u8D25\uFF0C\u8BF7\u786E\u8BA4\u60A8\u8F93\u5165\u7684 \
|
||||
<em>Consumer Secret</em> \u662F\u6B63\u786E\u7684\uFF0C\u7136\u540E\u8FDB\u884C\u91CD\u8BD5\u3002
|
||||
duplicatedPermalinkLabel=\u94FE\u63A5\u91CD\u590D\uFF01
|
||||
invalidPermalinkFormatLabel=\u975E\u6CD5\u7684\u94FE\u63A5\u683C\u5F0F\uFF01
|
||||
duplicatedEmailLabel=\u90AE\u4EF6\u5730\u5740\u91CD\u590D\uFF01
|
||||
refreshAndRetryLabel=\u8BF7\u5237\u65B0\u91CD\u8BD5\uFF01
|
||||
editorLeaveLabel=\u7F16\u8F91\u5668\u4E2D\u8FD8\u6709\u5185\u5BB9\uFF0C\u662F\u5426\u79BB\u5F00\uFF1F
|
||||
editorPostLabel=\u7F16\u8F91\u5668\u4E2D\u8FD8\u6709\u5185\u5BB9\uFF0C\u662F\u5426\u6E05\u7A7A\uFF1F
|
||||
####
|
||||
confirmRemoveLabel=\u786E\u5B9A\u5220\u9664\uFF1F
|
||||
confirmInitLabel=\u786E\u5B9A\u8FDB\u884C\u521D\u59CB\u5316\u5417\uFF1F
|
145
classic/macro-comments.ftl
Normal file
145
classic/macro-comments.ftl
Normal file
@@ -0,0 +1,145 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#macro comments commentList article>
|
||||
<h2 class="marginBottom12">${commentLabel}</h2>
|
||||
<div class="comments" id="comments">
|
||||
<#if 0 == commentList?size>
|
||||
${noCommentLabel}
|
||||
</#if>
|
||||
<#list commentList as comment>
|
||||
<#include "common-comment.ftl"/>
|
||||
</#list>
|
||||
</div>
|
||||
<#if article.commentable>
|
||||
<div class="comment-title">
|
||||
${postCommentsLabel}
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<table id="commentForm" class="form">
|
||||
<tbody>
|
||||
<#if !isLoggedIn>
|
||||
<tr>
|
||||
<th>
|
||||
${commentName1Label}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" class="normalInput" id="commentName"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
${commentEmail1Label}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" class="normalInput" id="commentEmail"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
${commentURL1Label}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" id="commentURL"/>
|
||||
</td>
|
||||
</tr>
|
||||
</#if>
|
||||
<tr>
|
||||
<th>
|
||||
${commentEmotions1Label}
|
||||
</th>
|
||||
<td id="emotions">
|
||||
<span class="em00" title="${em00Label}"></span>
|
||||
<span class="em01" title="${em01Label}"></span>
|
||||
<span class="em02" title="${em02Label}"></span>
|
||||
<span class="em03" title="${em03Label}"></span>
|
||||
<span class="em04" title="${em04Label}"></span>
|
||||
<span class="em05" title="${em05Label}"></span>
|
||||
<span class="em06" title="${em06Label}"></span>
|
||||
<span class="em07" title="${em07Label}"></span>
|
||||
<span class="em08" title="${em08Label}"></span>
|
||||
<span class="em09" title="${em09Label}"></span>
|
||||
<span class="em10" title="${em10Label}"></span>
|
||||
<span class="em11" title="${em11Label}"></span>
|
||||
<span class="em12" title="${em12Label}"></span>
|
||||
<span class="em13" title="${em13Label}"></span>
|
||||
<span class="em14" title="${em14Label}"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th valign="top">
|
||||
${commentContent1Label}
|
||||
</th>
|
||||
<td>
|
||||
<textarea rows="10" cols="96" id="comment"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<#if !isLoggedIn>
|
||||
<tr>
|
||||
<th>
|
||||
${captcha1Label}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" class="normalInput" id="commentValidate"/>
|
||||
<img id="captcha" alt="validate" src="${servePath}/captcha.do" />
|
||||
</td>
|
||||
</tr>
|
||||
</#if>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<span style="line-height: 28px;" class="error-msg" id="commentErrorTip"></span>
|
||||
<button id="submitCommentButton" onclick="page.submitComment();">${submmitCommentLabel}</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</#if>
|
||||
</#macro>
|
||||
|
||||
<#macro comment_script oId>
|
||||
<script type="text/javascript" src="${staticServePath}/js/page${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
var page = new Page({
|
||||
"nameTooLongLabel": "${nameTooLongLabel}",
|
||||
"mailCannotEmptyLabel": "${mailCannotEmptyLabel}",
|
||||
"mailInvalidLabel": "${mailInvalidLabel}",
|
||||
"commentContentCannotEmptyLabel": "${commentContentCannotEmptyLabel}",
|
||||
"captchaCannotEmptyLabel": "${captchaCannotEmptyLabel}",
|
||||
"loadingLabel": "${loadingLabel}",
|
||||
"oId": "${oId}",
|
||||
"skinDirName": "${skinDirName}",
|
||||
"blogHost": "${blogHost}",
|
||||
"randomArticles1Label": "${randomArticles1Label}",
|
||||
"externalRelevantArticles1Label": "${externalRelevantArticles1Label}"
|
||||
});
|
||||
|
||||
var replyTo = function (id) {
|
||||
var commentFormHTML = "<table class='form comment-reply' id='replyForm'>";
|
||||
page.addReplyForm(id, commentFormHTML);
|
||||
};
|
||||
|
||||
(function () {
|
||||
page.load();
|
||||
// emotions
|
||||
page.replaceCommentsEm("#comments .comment-content");
|
||||
<#nested>
|
||||
})();
|
||||
</script>
|
||||
</#macro>
|
37
classic/macro-head.ftl
Normal file
37
classic/macro-head.ftl
Normal file
@@ -0,0 +1,37 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#macro head title>
|
||||
<meta charset="utf-8" />
|
||||
<title>${title}</title>
|
||||
<#nested>
|
||||
<meta name="author" content="${blogTitle?html}" />
|
||||
<meta name="generator" content="Solo" />
|
||||
<meta name="owner" content="B3log Team" />
|
||||
<meta name="revised" content="${blogTitle?html}, ${year}" />
|
||||
<meta name="copyright" content="B3log" />
|
||||
<meta http-equiv="Window-target" content="_top" />
|
||||
<link type="text/css" rel="stylesheet" href="${staticServePath}/css/default-base${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" />
|
||||
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/${skinDirName}${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" />
|
||||
<link href="${servePath}/blog-articles-rss.do" title="RSS" type="application/rss+xml" rel="alternate" />
|
||||
<link rel="icon" type="image/png" href="${servePath}/favicon.png" />
|
||||
<link rel="manifest" href="${servePath}/manifest.json">
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="${title}" href="/opensearch.xml">
|
||||
${htmlHead}
|
||||
</#macro>
|
58
classic/page.ftl
Normal file
58
classic/page.ftl
Normal file
@@ -0,0 +1,58 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<#include "macro-comments.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${page.pageTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${page.pageTitle}" />
|
||||
<meta name="description" content="${metaDescription}" />
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<div class="article">
|
||||
<div class="article-body content-reset">
|
||||
${page.pageContent}
|
||||
</div>
|
||||
</div>
|
||||
<@comments commentList=pageComments article=page></@comments>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
<@comment_script oId=page.oId></@comment_script>
|
||||
</body>
|
||||
</html>
|
BIN
classic/preview.png
Normal file
BIN
classic/preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
176
classic/side.ftl
Normal file
176
classic/side.ftl
Normal file
@@ -0,0 +1,176 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<div id="sideNavi" class="side-navi">
|
||||
<#if "" != noticeBoard>
|
||||
<ul class="marginTop12">
|
||||
<li>
|
||||
<h4>${noticeBoardLabel}</h4>
|
||||
</li>
|
||||
<li class="side-navi-notice">${noticeBoard}</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != recentComments?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${recentCommentsLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul id="recentComments">
|
||||
<#list recentComments as comment>
|
||||
<li>
|
||||
<#if "http://" == comment.commentURL>
|
||||
${comment.commentName}<#else>
|
||||
<a target="_blank" href="${comment.commentURL}">
|
||||
${comment.commentName}</a></#if>:
|
||||
<a rel="nofollow" class='side-comment content-reset' href="${servePath}${comment.commentSharpURL}">
|
||||
${comment.commentContent}
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != mostCommentArticles?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${mostCommentArticlesLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul>
|
||||
<#list mostCommentArticles as article>
|
||||
<li>
|
||||
<sup>[${article.articleCommentCount}]</sup><a rel="nofollow" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">${article.articleTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != mostViewCountArticles?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${mostViewCountArticlesLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul id="mostViewCountArticles">
|
||||
<#list mostViewCountArticles as article>
|
||||
<li>
|
||||
<sup>[${article.articleViewCount}]</sup><a trel="nofollow" itle="${article.articleTitle}" href="${servePath}${article.articlePermalink}">${article.articleTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
|
||||
<#if 0 != mostUsedCategories?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${categoryLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul>
|
||||
<#list mostUsedCategories as category>
|
||||
<li>
|
||||
<a class="tag" href="${servePath}/category/${category.categoryURI}">
|
||||
${category.categoryTitle}</a> (${category.categoryTagCnt})
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
|
||||
|
||||
<#if 0 != mostUsedTags?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${tagsLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul>
|
||||
<#list mostUsedTags as tag>
|
||||
<li>
|
||||
<a rel="alternate" href="${servePath}/tag-articles-feed.do?oId=${tag.oId}" class="no-underline">
|
||||
<img alt="${tag.tagTitle}" src="${staticServePath}/images/feed.png"/>
|
||||
</a>
|
||||
<a rel="tag" title="${tag.tagTitle}(${tag.tagPublishedRefCount})" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">
|
||||
${tag.tagTitle}</a>
|
||||
(${tag.tagPublishedRefCount})
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != links?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${linkLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul id="sideLink">
|
||||
<#list links as link>
|
||||
<li>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">
|
||||
<img alt="${link.linkTitle}"
|
||||
src="${faviconAPI}<#list link.linkAddress?split('/') as x><#if x_index=2>${x}<#break></#if></#list>" width="16" height="16" /></a>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">${link.linkTitle}
|
||||
</a>
|
||||
<#-- ${link.linkDescription} -->
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != archiveDates?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${archiveLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul id="archiveSide">
|
||||
<#list archiveDates as archiveDate>
|
||||
<li data-year="${archiveDate.archiveDateYear}">
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.monthName} ${archiveDate.archiveDateYear}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.monthName} ${archiveDate.archiveDateYear}</a>(${archiveDate.archiveDatePublishedArticleCount})
|
||||
<#else>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}</a>(${archiveDate.archiveDatePublishedArticleCount})
|
||||
</#if>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</#if>
|
||||
</div>
|
27
classic/skin.properties
Normal file
27
classic/skin.properties
Normal file
@@ -0,0 +1,27 @@
|
||||
#
|
||||
# Solo - A small and beautiful blogging system written in Java.
|
||||
# Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Classic blue skin.
|
||||
# Version: 1.0.0.8, Nov 21, 2012
|
||||
# Author: Liang Ding
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
|
||||
name=classic
|
||||
memo=\u8FD9\u4E2A\u76AE\u80A4\u5F88\u4E11\u4E48\uFF1F\u6211\u52D2\u4E2A\u53BB\u3002
|
56
classic/tag-articles.ftl
Normal file
56
classic/tag-articles.ftl
Normal file
@@ -0,0 +1,56 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${tag.tagTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${tag.tagTitle}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<h2 class="marginLeft12 marginBottom12">${tag1Label}
|
||||
<a rel="alternate" href="${servePath}/tag-articles-feed.do?oId=${tag.oId}"><span id="tagArticlesTag">
|
||||
${tag.tagTitle}
|
||||
</span>(${tag.tagPublishedRefCount})</a>
|
||||
</h2>
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
64
classic/tags.ftl
Normal file
64
classic/tags.ftl
Normal file
@@ -0,0 +1,64 @@
|
||||
<#--
|
||||
|
||||
Solo - A small and beautiful blogging system written in Java.
|
||||
Copyright (c) 2010-2018, b3log.org & hacpai.com
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${allTagsLabel} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${allTagsLabel}"/>
|
||||
<meta name="description" content="<#list tags as tag>${tag.tagTitle}<#if tag_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<ul id="tags">
|
||||
<#list tags as tag>
|
||||
<li>
|
||||
<a rel="tag" data-count="${tag.tagPublishedRefCount}"
|
||||
href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}" title="${tag.tagTitle}">
|
||||
<span>${tag.tagTitle}</span>
|
||||
(<b>${tag.tagPublishedRefCount}</b>)
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
Util.buildTags();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user