💯 子模块目录调整
This commit is contained in:
109
next/side.ftl
Normal file
109
next/side.ftl
Normal file
@@ -0,0 +1,109 @@
|
||||
<#--
|
||||
|
||||
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="sidebar-toggle">
|
||||
<span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
|
||||
<span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
|
||||
<span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
|
||||
</div>
|
||||
|
||||
<aside class="sidebar">
|
||||
<section>
|
||||
<img class="site-author-image" src="${adminUser.userAvatar}" title="${userName}"/>
|
||||
<p class="site-author-name">${userName}</p>
|
||||
<#if "" != noticeBoard>
|
||||
<p class="site-description motion-element">${blogSubtitle}</p>
|
||||
</#if>
|
||||
<nav>
|
||||
<div class="site-state-item">
|
||||
<a href="${servePath}/archives.html">
|
||||
<span class="site-state-item-count">${statistic.statisticPublishedBlogArticleCount}</span>
|
||||
<span class="site-state-item-name">${articleLabel}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="site-state-item site-state-categories">
|
||||
<span class="site-state-item-count">${statistic.statisticBlogViewCount}</span>
|
||||
<span class="site-state-item-name">${viewLabel}</span>
|
||||
</div>
|
||||
|
||||
<div class="site-state-item site-state-tags">
|
||||
<a href="${servePath}/dynamic.html">
|
||||
<span class="site-state-item-count">${statistic.statisticPublishedBlogCommentCount}</span>
|
||||
<span class="site-state-item-name">${commentLabel}</span>
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="feed-link">
|
||||
<a href="${servePath}/blog-articles-rss.do" rel="alternate">
|
||||
<i class="icon-rss"></i>
|
||||
RSS
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="links-of-author">
|
||||
<#if isLoggedIn>
|
||||
<span class="links-of-author-item">
|
||||
<a href="${servePath}/admin-index.do#main" title="${adminLabel}">
|
||||
<i class="icon-setting"></i> ${adminLabel}
|
||||
</a>
|
||||
</span>
|
||||
|
||||
<span class="links-of-author-item">
|
||||
<a href="${logoutURL}">
|
||||
<i class="icon-logout"></i> ${logoutLabel}
|
||||
</a>
|
||||
</span>
|
||||
<#else>
|
||||
<span class="links-of-author-item">
|
||||
<a href="${loginURL}">
|
||||
<i class="icon-login"></i> ${loginLabel}
|
||||
</a>
|
||||
</span>
|
||||
|
||||
<span class="links-of-author-item">
|
||||
<a href="${servePath}/register">
|
||||
<i class="icon-register"></i> ${registerLabel}
|
||||
</a>
|
||||
</span>
|
||||
</#if>
|
||||
</div>
|
||||
|
||||
<#if noticeBoard??>
|
||||
<div class="links-of-author">
|
||||
${noticeBoard}
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
<#if 0 != links?size>
|
||||
<div class="links-of-author">
|
||||
<p class="site-author-name">Links</p>
|
||||
<#list links as link>
|
||||
<span class="links-of-author-item">
|
||||
<a rel="friend" href="${link.linkAddress}"
|
||||
title="${link.linkDescription}" target="_blank">
|
||||
${link.linkTitle}
|
||||
</a>
|
||||
</span>
|
||||
</#list>
|
||||
</div>
|
||||
</#if>
|
||||
</section>
|
||||
</aside>
|
||||
Reference in New Issue
Block a user