2019-03-16 19:01:27 +08:00

76 lines
3.1 KiB
Plaintext

<#--
Solo - A small and beautiful blogging system written in Java.
Copyright (c) 2010-2019, 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="footer-no"></div>-->
<div id="footer-link">
<p>&copy; ${year} <a href="${servePath}">${blogTitle}</a></p>
<p>
Powered by
<a href="http://b3log.org" target="_blank">
<span style="color: orange;">B</span>
<span style="font-size: 9px; color: blue;"><sup>3</sup></span>
<span style="color: green;">L</span>
<span style="color: red;">O</span>
<span style="color: blue;">G</span>&nbsp;
<span style="color: orangered; font-weight: bold;">Solo</span></a>,
ver ${version}&nbsp;&nbsp;
Theme[5style for 0.5.0] by <a href="http://www.noday.net" target="_blank">Noday</a>
& <a href="http://marslau.com" target="_blank" title="Mars Lau's blog">Mars Lau</a>
</p>
</div>
<div id="footer-right"><a href="javascript:void(0);" onclick="Util.goTop();" id="to-top" title="Top"></a></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}",
"staticServePath": "${staticServePath}"
};
var Label = {
"markedAvailable": ${markedAvailable?c},
"hljsStyle": "atom-one-light",
"langLabel": "${langLabel}",
"clearAllCacheLabel": "${clearAllCacheLabel}",
"clearCacheLabel": "${clearCacheLabel}",
"adminLabel": "${adminLabel}",
"logoutLabel": "${logoutLabel}",
"skinDirName": "${skinDirName}",
};
$(document).ready(function () {
Util.init();
Util.replaceSideEm($("#sidebarul .arrow a"));
// set selected navi
$("#header-navi li").each(function (i) {
if (i < $("#header-navi li").length - 1) {
var $it = $(this),
locationURL = window.location.pathname + window.location.search;
if (i === 0 && (locationURL === "/")) {
$it.addClass("selected");
return;
}
if (locationURL.indexOf($it.find("a").attr("href")) > -1 && i !== 0) {
$it.addClass("selected");
}
}
});
});
</script>
${plugins}