删除.bak文件
This commit is contained in:
parent
1f6b3089ce
commit
fc1bc34e0d
@ -1,175 +0,0 @@
|
||||
<#--
|
||||
|
||||
Bolo - A stable and beautiful blogging system based in Solo.
|
||||
Copyright (c) 2020, https://github.com/adlered
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#-- 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/>. -->
|
||||
<#include "../../common-template/macro-common_head.ftl">
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<@head title="${linkLabel} - ${blogTitle}">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.7.5/css/bulma.min.css"/>
|
||||
<link rel="stylesheet" href="https://ftp.stackoverflow.wiki/bolo/fantastic/css/all.min.css">
|
||||
<link rel="stylesheet"
|
||||
href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}"/>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.3.5/css/swiper.min.css">
|
||||
<script src='https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.3.5/js/swiper.min.js'></script>
|
||||
</@head>
|
||||
<style>
|
||||
.link-body {
|
||||
position: relative;
|
||||
margin: 10px auto;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font-style: inherit;
|
||||
font-weight: inherit;
|
||||
outline: 0;
|
||||
vertical-align: baseline;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.link-avatar {
|
||||
display: block;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
border-radius: 100%;
|
||||
width: 68px;
|
||||
height: 68px;
|
||||
margin-right: 20px;
|
||||
cursor: pointer;
|
||||
-webkit-transition: all .8s;
|
||||
transition: all .8s
|
||||
}
|
||||
|
||||
.link-avatar:hover {
|
||||
-webkit-transform: rotate(1turn);
|
||||
transform: rotate(1turn)
|
||||
}
|
||||
|
||||
.link-contain-main {
|
||||
margin-left: 58px;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font-style: inherit;
|
||||
font-weight: inherit;
|
||||
margin: 0;
|
||||
outline: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
</style>
|
||||
|
||||
<#-- <#include "style.theme.ftl"> -->
|
||||
</head>
|
||||
|
||||
<body class="is-3-column">
|
||||
<#include "header.ftl">
|
||||
<div class="card-normal">
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="columns">
|
||||
|
||||
<div class="column is-8-tablet is-8-desktop is-9-widescreen is-9-fullhd has-order-2 column-main"
|
||||
style="margin-left: 10px">
|
||||
<div class="columns">
|
||||
<div
|
||||
class="column is-12-tablet is-12-desktop is-12-widescreen has-order-2 column-main">
|
||||
<div class="level">
|
||||
<div class="columns" style="width:100%">
|
||||
<div
|
||||
class="column is-12-tablet is-12-desktop is-8-widescreen is-8-fullhd has-order-2 column-main">
|
||||
<div class="card widget">
|
||||
<div class="card-content">
|
||||
<h3 class="menu-label">
|
||||
${linkLabel}
|
||||
</h3>
|
||||
|
||||
<div>
|
||||
<#list links as link>
|
||||
<div class="link-body">
|
||||
<div class="link-avatar-div">
|
||||
<a href="" rel="nofollow"
|
||||
target="_blank">
|
||||
<img alt="${link.linkDescription}"
|
||||
src="${link.linkIcon}"
|
||||
class="link-avatar">
|
||||
</a>
|
||||
</div>
|
||||
<div class="link-contain-main">
|
||||
<div class="link-meta">
|
||||
<div itemprop="author"
|
||||
class="link-author">
|
||||
<a href="${link.linkAddress}"
|
||||
rel="nofollow"
|
||||
target="_blank"
|
||||
title="${link.linkTitle}"
|
||||
class="author-name">${link.linkTitle}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div itemprop="description"
|
||||
class="link-content">
|
||||
${link.linkDescription}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</#list>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="column is-4-tablet is-4-desktop is-hidden-touch is-hidden-desktop-only is-4-widescreen is-4-fullhd has-order-3 column-right <%= sticky_class(position) %>">
|
||||
<#include "side-right.ftl">
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
<a id="back-to-top" title="返回顶部" href="javascript:"><i class="fas fa-chevron-up"></i></a>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
|
||||
</html>
|
@ -1,263 +0,0 @@
|
||||
<#--
|
||||
|
||||
Bolo - A stable and beautiful blogging system based in Solo.
|
||||
Copyright (c) 2020, https://github.com/adlered
|
||||
|
||||
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="column is-4-tablet is-4-desktop is-3-widescreen has-order-1 column-left <%= sticky_class(position) %>">
|
||||
<div class="card widget profile">
|
||||
<div class="card-content">
|
||||
<nav class="level">
|
||||
<div class="level-item has-text-centered" style="flex-shrink: 1">
|
||||
<div class="level">
|
||||
<figure class="image is-64x64 has-mb-6 level-left" style="margin: 0 auto">
|
||||
<img class="is-rounded" src="${adminUser.userAvatar!}" alt="${userName!}" style="padding: 2px;
|
||||
box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);">
|
||||
</figure>
|
||||
<div class="level-right">
|
||||
<div>
|
||||
<p class="title is-4" style="text-align: center">
|
||||
${blogTitle!}
|
||||
</p>
|
||||
<p class="is-size-6 is-block" style="text-align: center">
|
||||
${blogSubtitle!}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<nav class="level is-mobile">
|
||||
<div class="level-item has-text-centered is-marginless">
|
||||
<div>
|
||||
<p class="heading">
|
||||
文章
|
||||
</p>
|
||||
<p class="title has-text-weight-normal">
|
||||
${statistic.statisticPublishedBlogArticleCount}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="level-item has-text-centered is-marginless">
|
||||
<div>
|
||||
<p class="heading">
|
||||
评论
|
||||
</p>
|
||||
<p class="title has-text-weight-normal">
|
||||
${statistic.statisticPublishedBlogCommentCount}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="level-item has-text-centered is-marginless">
|
||||
<div>
|
||||
<p class="heading">
|
||||
浏览
|
||||
</p>
|
||||
<p class="title has-text-weight-normal">
|
||||
${statistic.statisticBlogViewCount}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="level is-mobile">
|
||||
<#if usite??>
|
||||
<#if usite.usiteQQ !=''>
|
||||
<a class="level-item button is-marginless" target="_blank" title="QQ"
|
||||
href="tencent://message/?uin=${usite.usiteQQ}">
|
||||
<i class="fab fa-qq"></i>
|
||||
</a>
|
||||
</#if>
|
||||
<#if usite.usiteWeChat !=''>
|
||||
<span class="level-item button is-marginless" target="_blank" title="WeChat"
|
||||
onclick="javascript:alert('我的微信号:${usite.usiteWeChat}')">
|
||||
<i class="fab fa-weixin"></i>
|
||||
</span>
|
||||
</#if>
|
||||
<#if usite.usiteWeiBo !=''>
|
||||
<a class="level-item button is-marginless" target="_blank" title="Weibo"
|
||||
href="https://weibo.com/${usite.usiteWeiBo}">
|
||||
<i class="fab fa-weibo"></i>
|
||||
</a>
|
||||
</#if>
|
||||
<#if usite.usiteGitHub !=''>
|
||||
<a class="level-item button is-marginless" target="_blank" title="Github"
|
||||
href="https://github.com/${usite.usiteGitHub}">
|
||||
<i class="fab fa-github"></i>
|
||||
</a>
|
||||
</#if>
|
||||
<#if usite.usiteTwitter !=''>
|
||||
<a class="level-item button is-marginless" target="_blank" title="Twitter"
|
||||
href="https://twitter.com/${usite.usiteTwitter}">
|
||||
<i class="fab fa-twitter"></i>
|
||||
</a>
|
||||
</#if>
|
||||
<#if usite.usiteFacebook !=''>
|
||||
<a class="level-item button is-marginless" target="_blank" title="Facebook"
|
||||
href="https://www.facebook.com/${usite.usiteFacebook}">
|
||||
<i class="fab fa-facebook"></i>
|
||||
</a>
|
||||
</#if>
|
||||
<#if usite.usiteTelegram !=''>
|
||||
<a class="level-item button is-marginless" target="_blank" title="Telegram"
|
||||
href="https://telegram.me/${usite.usiteTelegram}">
|
||||
<i class="fab fa-telegram"></i>
|
||||
</a>
|
||||
</#if>
|
||||
</#if>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card widget">
|
||||
<div class="card-content" style="width:100%">
|
||||
<div class="menu">
|
||||
<h3 class="menu-label">
|
||||
公告
|
||||
</h3>
|
||||
<ul class="menu-list">
|
||||
${noticeBoard}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card widget">
|
||||
<div class="card-content">
|
||||
<div class="menu">
|
||||
<h3 class="menu-label">
|
||||
${categoryLabel}
|
||||
</h3>
|
||||
<ul class="menu-list">
|
||||
<#list mostUsedCategories as category>
|
||||
<li>
|
||||
<a class="level is-marginless" href="${servePath}/category/${category.categoryURI}">
|
||||
<span class="level-start">
|
||||
<span class="level-item">${category.categoryTitle}</span>
|
||||
</span>
|
||||
<span class="level-end">
|
||||
<span class="level-item tag">${category.categoryPublishedArticleCount}</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card widget">
|
||||
<div class="card-content">
|
||||
<div class="menu">
|
||||
<h3 class="menu-label">
|
||||
${tagLabel}
|
||||
</h3>
|
||||
<div class="field is-grouped is-grouped-multiline">
|
||||
<#list mostUsedTags as tag>
|
||||
<div class="control">
|
||||
<a class="tags has-addons" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">
|
||||
<span class="tag">${tag.tagTitle}</span>
|
||||
<span class="tag is-grey">${tag.tagPublishedRefCount!}</span>
|
||||
</a>
|
||||
</div>
|
||||
</#list>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<div class="card widget">
|
||||
<div class="card-content" style="width:100%">
|
||||
<div class="menu">
|
||||
<h3 class="menu-label">
|
||||
广告
|
||||
</h3>
|
||||
<ul class="menu-list">
|
||||
<!-- google广告 -->
|
||||
<ins class="adsbygoogle"
|
||||
style="display:inline-block;width:290px;height:500px"
|
||||
data-ad-client="ca-pub-1331219010215317"
|
||||
data-ad-slot="5542691247">
|
||||
</ins>
|
||||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||
</script>-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
<div class="column-right-shadow is-hidden-widescreen is-6-fullhd">
|
||||
<div class="card widget">
|
||||
<div class="card-content">
|
||||
<h3 class="menu-label">
|
||||
${mostViewCountArticlesLabel}
|
||||
</h3>
|
||||
|
||||
<#list mostViewCountArticles as article>
|
||||
<article class="media">
|
||||
<#if article.articleImg1URL?? && article.articleImg1URL!=''>
|
||||
<a href="${servePath}${article.articlePermalink}" class="media-left">
|
||||
<p class="image is-64x64">
|
||||
<img class="thumbnail" src="${article.articleImg1URL!}"
|
||||
alt="${article.articleTitle!}">
|
||||
</p>
|
||||
</a>
|
||||
</#if>
|
||||
<div class="media-content">
|
||||
<div class="content">
|
||||
<div style="padding-top: 10px;">
|
||||
|
||||
<div class="has-text-grey is-size-7 is-uppercase">${article.articleViewCount}浏览
|
||||
</div>
|
||||
</div>
|
||||
<a href="${servePath}${article.articlePermalink}"
|
||||
class="title has-link-black-ter is-size-6 has-text-weight-normal">${article.articleTitle!}</a>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</#list>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="card widget">
|
||||
<div class="card-content">
|
||||
<div class="menu">
|
||||
<h3 class="menu-label">
|
||||
${archiveLabel}
|
||||
</h3>
|
||||
<ul class="menu-list">
|
||||
<#list archiveDates as archiveDate>
|
||||
<li>
|
||||
<a class="level is-marginless"
|
||||
href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}">
|
||||
<span class="level-start">
|
||||
<span class="level-item">${archiveDate.archiveDateYear} ${yearLabel}
|
||||
${archiveDate.archiveDateMonth} ${monthLabel}</span>
|
||||
</span>
|
||||
<span class="level-end">
|
||||
<span
|
||||
class="level-item tag">${archiveDate.archiveDatePublishedArticleCount}</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user