solo-skins/Jane/archives.ftl

61 lines
2.4 KiB
Plaintext
Raw Permalink Normal View History

2018-12-07 08:21:44 +08:00
<#--
Solo - A small and beautiful blogging system written in Java.
2019-04-02 09:36:01 +08:00
Copyright (c) 2010-present, b3log.org
2018-12-07 08:21:44 +08:00
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 "../../common-template/macro-common_head.ftl">
2018-12-07 08:21:44 +08:00
<!DOCTYPE html>
<html>
<head>
2018-12-07 16:57:14 +08:00
<@head title="${archiveLabel} - ${blogTitle}">
<link rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}"/>
2018-12-07 08:21:44 +08:00
</@head>
</head>
<body>
<#include "header.ftl">
2018-12-07 16:57:14 +08:00
<div id="pjax" class="wrapper">
2018-12-07 08:21:44 +08:00
<#if pjax><!---- pjax {#pjax} start ----></#if>
2018-12-07 16:57:14 +08:00
<div class="article__item">
<h2 class="article__title">
<i class="icon__inbox"></i> ${archiveLabel}${articleLabel}
</h2>
<div class="ft__gray">
${statistic.statisticPublishedBlogArticleCount} ${countLabel}
2018-12-07 08:21:44 +08:00
</div>
2018-12-07 17:29:43 +08:00
<div class="tags tags--align fn__clear">
2018-12-07 16:57:14 +08:00
<#list archiveDates as archiveDate>
<#if "en" == localeString?substring(0, 2)>
<a class="ft__red" href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}">
${archiveDate.monthName} ${archiveDate.archiveDateYear}
<span class="ft__gray">(${archiveDate.archiveDatePublishedArticleCount})</span>
</a>
<#else>
<a class="ft__red"
href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}">
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}
<span class="ft__gray">(${archiveDate.archiveDatePublishedArticleCount})</span>
</a>
</#if>
</#list>
2018-12-07 08:21:44 +08:00
</div>
</div>
2018-12-07 16:57:14 +08:00
<#if pjax><!---- pjax {#pjax} end ----></#if>
2018-12-07 08:21:44 +08:00
</div>
2018-12-07 17:29:43 +08:00
<#include "footer.ftl">
2018-12-07 08:21:44 +08:00
</body>
</html>