solo-skins/Community/header.ftl

81 lines
3.0 KiB
Plaintext

<#--
Solo - A small and beautiful blogging system written in Java.
Copyright (c) 2010-present, b3log.org
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/>.
-->
<#if 1 != users?size>
<div class="header-user">
<div class="content">
<div class="moon-current-icon"></div>
<#list users as user>
<a class="star-icon" href="${servePath}/authors/${user.oId}">
${user.userName}
</a>
</#list>
<div class="clear"></div>
</div>
</div>
</#if>
<div class="header-navi">
<div class="header-navi-main content">
<div class="left">
<a rel="nofollow" href="${servePath}" class="header-title">
${blogTitle}
</a>
<span class="sub-title">${blogSubtitle}</span>
</div>
<div class="right">
<ul class="tabs">
<li class="tab">
<a href="${servePath}">${homeLabel}</a>
</li>
<li class="tab">
<a href="${servePath}/tags.html">${allTagsLabel}</a>
</li>
<#if 0 != pageNavigations?size>
<li class="tab" id="header-pages">
<a href="${servePath}">
<span class="left">
${pageLabel}
</span>
<span class="arrow-dowm-icon"></span>
<span class="clear"></span>
</a>
<ul class="sub-tabs none">
<#list pageNavigations as page>
<li class="sub-tab">
<a href="${page.pagePermalink}" target="${page.pageOpenTarget}"><#if page.pageIcon != ''><img class="page-icon" src="${page.pageIcon}"></#if>${page.pageTitle}</a>
</li>
</#list>
</ul>
</li>
</#if>
<li class="tab">
<a rel="alternate" href="${servePath}/rss.xml">
<span class="left">RSS</span>
<span class="atom-icon"></span>
<span class="clear"></span>
</a>
</li>
<li class="tab">
<a href="${servePath}/search?keyword=">Search</a>
</li>
</ul>
</div>
<div class="clear"></div>
</div>
</div>