|
@ -1,453 +0,0 @@
|
|||
/**
|
||||
* 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/>.
|
||||
*/
|
||||
.btn-default,
|
||||
.btn-primary,
|
||||
.btn-success,
|
||||
.btn-info,
|
||||
.btn-warning,
|
||||
.btn-danger {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.btn-default:active,
|
||||
.btn-primary:active,
|
||||
.btn-success:active,
|
||||
.btn-info:active,
|
||||
.btn-warning:active,
|
||||
.btn-danger:active,
|
||||
.btn-default.active,
|
||||
.btn-primary.active,
|
||||
.btn-success.active,
|
||||
.btn-info.active,
|
||||
.btn-warning.active,
|
||||
.btn-danger.active {
|
||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
||||
}
|
||||
.btn:active,
|
||||
.btn.active {
|
||||
background-image: none;
|
||||
}
|
||||
.btn-default {
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dbdbdb;
|
||||
border-color: #ccc;
|
||||
}
|
||||
.btn-default:hover,
|
||||
.btn-default:focus {
|
||||
background-color: #e0e0e0;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-default:active,
|
||||
.btn-default.active {
|
||||
background-color: #e0e0e0;
|
||||
border-color: #dbdbdb;
|
||||
}
|
||||
.btn-default:disabled,
|
||||
.btn-default[disabled] {
|
||||
background-color: #e0e0e0;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-primary {
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#2d6ca2));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #2b669a;
|
||||
}
|
||||
.btn-primary:hover,
|
||||
.btn-primary:focus {
|
||||
background-color: #2d6ca2;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-primary:active,
|
||||
.btn-primary.active {
|
||||
background-color: #2d6ca2;
|
||||
border-color: #2b669a;
|
||||
}
|
||||
.btn-primary:disabled,
|
||||
.btn-primary[disabled] {
|
||||
background-color: #2d6ca2;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-success {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #3e8f3e;
|
||||
}
|
||||
.btn-success:hover,
|
||||
.btn-success:focus {
|
||||
background-color: #419641;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-success:active,
|
||||
.btn-success.active {
|
||||
background-color: #419641;
|
||||
border-color: #3e8f3e;
|
||||
}
|
||||
.btn-success:disabled,
|
||||
.btn-success[disabled] {
|
||||
background-color: #419641;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-info {
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #28a4c9;
|
||||
}
|
||||
.btn-info:hover,
|
||||
.btn-info:focus {
|
||||
background-color: #2aabd2;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-info:active,
|
||||
.btn-info.active {
|
||||
background-color: #2aabd2;
|
||||
border-color: #28a4c9;
|
||||
}
|
||||
.btn-info:disabled,
|
||||
.btn-info[disabled] {
|
||||
background-color: #2aabd2;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-warning {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #e38d13;
|
||||
}
|
||||
.btn-warning:hover,
|
||||
.btn-warning:focus {
|
||||
background-color: #eb9316;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-warning:active,
|
||||
.btn-warning.active {
|
||||
background-color: #eb9316;
|
||||
border-color: #e38d13;
|
||||
}
|
||||
.btn-warning:disabled,
|
||||
.btn-warning[disabled] {
|
||||
background-color: #eb9316;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-danger {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b92c28;
|
||||
}
|
||||
.btn-danger:hover,
|
||||
.btn-danger:focus {
|
||||
background-color: #c12e2a;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-danger:active,
|
||||
.btn-danger.active {
|
||||
background-color: #c12e2a;
|
||||
border-color: #b92c28;
|
||||
}
|
||||
.btn-danger:disabled,
|
||||
.btn-danger[disabled] {
|
||||
background-color: #c12e2a;
|
||||
background-image: none;
|
||||
}
|
||||
.thumbnail,
|
||||
.img-thumbnail {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.dropdown-menu > li > a:hover,
|
||||
.dropdown-menu > li > a:focus {
|
||||
background-color: #e8e8e8;
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.dropdown-menu > .active > a,
|
||||
.dropdown-menu > .active > a:hover,
|
||||
.dropdown-menu > .active > a:focus {
|
||||
background-color: #357ebd;
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.navbar-default {
|
||||
background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
|
||||
background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.navbar-default .navbar-nav > .active > a {
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
|
||||
background-image: -o-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f3f3f3));
|
||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.navbar-brand,
|
||||
.navbar-nav > li > a {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
|
||||
}
|
||||
.navbar-inverse {
|
||||
background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
|
||||
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.navbar-inverse .navbar-nav > .active > a {
|
||||
background-image: -webkit-linear-gradient(top, #222 0%, #282828 100%);
|
||||
background-image: -o-linear-gradient(top, #222 0%, #282828 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#222), to(#282828));
|
||||
background-image: linear-gradient(to bottom, #222 0%, #282828 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
|
||||
}
|
||||
.navbar-inverse .navbar-brand,
|
||||
.navbar-inverse .navbar-nav > li > a {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
|
||||
}
|
||||
.navbar-static-top,
|
||||
.navbar-fixed-top,
|
||||
.navbar-fixed-bottom {
|
||||
border-radius: 0;
|
||||
}
|
||||
.alert {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
|
||||
}
|
||||
.alert-success {
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b2dba1;
|
||||
}
|
||||
.alert-info {
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #9acfea;
|
||||
}
|
||||
.alert-warning {
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #f5e79e;
|
||||
}
|
||||
.alert-danger {
|
||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dca7a7;
|
||||
}
|
||||
.progress {
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
|
||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar {
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #3071a9 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3071a9));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-success {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-info {
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-warning {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-danger {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-striped {
|
||||
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
}
|
||||
.list-group {
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.list-group-item.active,
|
||||
.list-group-item.active:hover,
|
||||
.list-group-item.active:focus {
|
||||
text-shadow: 0 -1px 0 #3071a9;
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #3278b3 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #3278b3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3278b3));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #3278b3;
|
||||
}
|
||||
.panel {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
|
||||
}
|
||||
.panel-default > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-primary > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-success > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-info > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-warning > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-danger > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.well {
|
||||
background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
|
||||
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dcdcdc;
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-theme.css.map */
|
|
@ -6211,4 +6211,4 @@ button.close {
|
|||
display: none !important;
|
||||
}
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap.css.map */
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<meta name="revised" content="${blogTitle?html}, ${year}" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
||||
<meta http-equiv="Window-target" content="_top" />
|
||||
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/bootstrap${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" />
|
||||
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/bootstrap.css?${staticResourceVersion}" charset="utf-8" />
|
||||
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" charset="utf-8" />
|
||||
<link href="${servePath}/rss.xml" title="RSS" type="application/rss+xml" rel="alternate" />
|
||||
<link rel="icon" type="image/png" href="${faviconURL}" />
|
||||
|
|
|
@ -1,58 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount}) - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${archiveDate.archiveDateYear}${archiveDate.archiveDateMonth}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<h2 class="marginLeft12 marginBottom12">${archive1Label}
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount})
|
||||
<#else>
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel} (${archiveDate.archiveDatePublishedArticleCount})
|
||||
</#if>
|
||||
</h2>
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,106 +0,0 @@
|
|||
<#--
|
||||
|
||||
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>
|
||||
<#list articles as article>
|
||||
<div class="article">
|
||||
<div class="article-header">
|
||||
<div class="article-date">
|
||||
<#if article.hasUpdated>
|
||||
${article.articleUpdateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
<#else>
|
||||
${article.articleCreateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
</#if>
|
||||
</div>
|
||||
<div class="article-title">
|
||||
<h2>
|
||||
<a rel="bookmark" class="no-underline" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
<#if article.hasUpdated>
|
||||
<sup class="red">
|
||||
${updatedLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
<#if article.articlePutTop>
|
||||
<sup class="red">
|
||||
${topArticleLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
</h2>
|
||||
<div class="article-tags">
|
||||
${tags1Label}
|
||||
<#list article.articleTags?split(",") as articleTag>
|
||||
<span>
|
||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">
|
||||
${articleTag}</a><#if articleTag_has_next>,</#if>
|
||||
</span>
|
||||
</#list>
|
||||
<#-- 注释掉填充用户名部分
|
||||
${author1Label}<a rel="nofollow" href="${servePath}/authors/${article.authorId}">${article.authorName}</a>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="vditor-reset">
|
||||
<div class="article-abstract">
|
||||
${article.articleAbstract}
|
||||
</div>
|
||||
</div>
|
||||
<div class="article-footer">
|
||||
<div class="right">
|
||||
<span class="article-create-date left">
|
||||
${article.articleCreateDate?string("yyyy-MM-dd HH:mm:ss")}  
|
||||
</span>
|
||||
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments" class="left">
|
||||
<span class="left commentIcon" title="${commentLabel}"></span>
|
||||
${article.articleCommentCount}
|
||||
</a>
|
||||
<span class="left"> </span>
|
||||
<a rel="nofollow" href="${servePath}${article.articlePermalink}" class="left">
|
||||
<span class="left browserIcon" title="${viewLabel}"></span>
|
||||
${article.articleViewCount}
|
||||
</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</#list>
|
||||
<#if 0 != paginationPageCount>
|
||||
<div class="pagination">
|
||||
<#if 1 != paginationPageNums?first>
|
||||
<a href="${servePath}${path}">${firstPageLabel}</a>
|
||||
<a id="previousPage" href="${servePath}${path}?p=${paginationPreviousPageNum}">${previousPageLabel}</a>
|
||||
</#if>
|
||||
<#list paginationPageNums as paginationPageNum>
|
||||
<#if paginationPageNum == paginationCurrentPageNum>
|
||||
<a href="${servePath}${path}?p=${paginationPageNum}" class="selected">${paginationPageNum}</a>
|
||||
<#else>
|
||||
<a href="${servePath}${path}?p=${paginationPageNum}">${paginationPageNum}</a>
|
||||
</#if>
|
||||
</#list>
|
||||
<#if paginationPageNums?last != paginationPageCount>
|
||||
<a id="nextPage" href="${servePath}${path}?p=${paginationNextPageNum}">${nextPagePabel}</a>
|
||||
<a href="${servePath}${path}?p=${paginationPageCount}">${lastPageLabel}</a>
|
||||
</#if>
|
||||
${sumLabel} ${paginationPageCount} ${pageLabel}
|
||||
</div>
|
||||
</#if>
|
||||
</div>
|
|
@ -1,228 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<#include "macro-comments.ftl">
|
||||
<#include "../../common-template/macro-comment_script.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${article.articleTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${article.articleTags}" />
|
||||
<meta name="description" content="${article.articleAbstract?html}" />
|
||||
</@head>
|
||||
<#if previousArticlePermalink??>
|
||||
<link rel="prev" title="${previousArticleTitle}" href="${servePath}${previousArticlePermalink}">
|
||||
</#if>
|
||||
<#if nextArticlePermalink??>
|
||||
<link rel="next" title="${nextArticleTitle}" href="${servePath}${nextArticlePermalink}">
|
||||
</#if>
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:locale" content="zh_CN"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:title" content="${article.articleTitle}"/>
|
||||
<meta property="og:description" content="${article.articleAbstract?html}"/>
|
||||
<meta property="og:image" content="${article.authorThumbnailURL}"/>
|
||||
<meta property="og:url" content="${servePath}${article.articlePermalink}"/>
|
||||
<meta property="og:site_name" content="Solo"/>
|
||||
<!-- Twitter Card -->
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:description" content="${article.articleAbstract?html}"/>
|
||||
<meta name="twitter:title" content="${article.articleTitle}"/>
|
||||
<meta name="twitter:image" content="${article.authorThumbnailURL}"/>
|
||||
<meta name="twitter:url" content="${servePath}${article.articlePermalink}"/>
|
||||
<meta name="twitter:site" content="@DL88250"/>
|
||||
<meta name="twitter:creator" content="@DL88250"/>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<div class="article">
|
||||
<div class="article-header">
|
||||
<div class="article-date">
|
||||
<#if article.hasUpdated>
|
||||
${article.articleUpdateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
<#else>
|
||||
${article.articleCreateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
</#if>
|
||||
</div>
|
||||
<div class="article-title">
|
||||
<h2>
|
||||
<a class="no-underline" href="${servePath}${article.articlePermalink}">${article.articleTitle}</a>
|
||||
<#if article.hasUpdated>
|
||||
<sup class="red">
|
||||
${updatedLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
<#if article.articlePutTop>
|
||||
<sup class="red">
|
||||
${topArticleLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
</h2>
|
||||
<div class="article-tags">
|
||||
${tags1Label}
|
||||
<#list article.articleTags?split(",") as articleTag>
|
||||
<span>
|
||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">
|
||||
${articleTag}</a><#if articleTag_has_next>,</#if>
|
||||
</span>
|
||||
</#list>
|
||||
<#-- 注释掉填充用户名部分
|
||||
${author1Label}<a rel="nofollow" href="${servePath}/authors/${article.authorId}">${article.authorName}</a>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="vditor-reset">
|
||||
${article.articleContent}
|
||||
<#if "" != article.articleSign.signHTML?trim>
|
||||
<div class="marginTop12">
|
||||
${article.articleSign.signHTML}
|
||||
</div>
|
||||
</#if>
|
||||
</div>
|
||||
<div class="article-details-footer">
|
||||
<div class="left">
|
||||
<#if nextArticlePermalink??>
|
||||
<a href="${servePath}${nextArticlePermalink}">${nextArticle1Label}${nextArticleTitle}</a><br/>
|
||||
</#if>
|
||||
<#if previousArticlePermalink??>
|
||||
<a href="${servePath}${previousArticlePermalink}">${previousArticle1Label}${previousArticleTitle}</a>
|
||||
</#if>
|
||||
</div>
|
||||
<div class="right">
|
||||
<span class="article-create-date left">
|
||||
${article.articleCreateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
</span>
|
||||
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments" class="left">
|
||||
<span class="left commentIcon" title="${commentLabel}"></span>
|
||||
<span class="left">${article.articleCommentCount}</span>
|
||||
</a>
|
||||
<a rel="nofollow" href="${servePath}${article.articlePermalink}" class="left">
|
||||
<span class="left browserIcon" title="${viewLabel}"></span>
|
||||
<span id="articleViewCount">${article.articleViewCount}</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<#if 0 != relevantArticlesDisplayCount>
|
||||
<div id="relevantArticles" class="article-relative left" style="width: 50%;"></div>
|
||||
</#if>
|
||||
<div id="randomArticles" class="left article-relative"></div>
|
||||
<div class="clear"></div>
|
||||
<div id="externalRelevantArticles" class="article-relative"></div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<@comments commentList=articleComments article=article></@comments>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right side">
|
||||
<section>
|
||||
<#include "side.ftl">
|
||||
</section>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
<@comment_script oId=article.oId commentable=article.commentable>
|
||||
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
|
||||
<#if 0 != randomArticlesDisplayCount>
|
||||
page.loadRandomArticles();
|
||||
</#if>
|
||||
<#if 0 != relevantArticlesDisplayCount>
|
||||
page.loadRelevantArticles('${article.oId}', '<h4>${relevantArticles1Label}</h4>');
|
||||
</#if>
|
||||
<#if 0 != externalRelevantArticlesDisplayCount>
|
||||
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>");
|
||||
</#if>
|
||||
</@comment_script>
|
||||
<script>
|
||||
(function () {
|
||||
if ($('.b3-solo-list li').length > 0 && $(window).width() > 1000) {
|
||||
// add color to sidebar menu
|
||||
$('.side').addClass('has-toc');
|
||||
|
||||
// append toc to sidebar menu
|
||||
var articleTocHTML = '<ul><li class="current" data-tab="toc">${tocLabel}'
|
||||
+ '</li><li data-tab="site">${siteViewLabel}</li></ul><div class="clear"></div><section></section>';
|
||||
$('.side').prepend(articleTocHTML);
|
||||
var $sectionF = $('.side section:first').html($('.b3-solo-list')),
|
||||
$sectionL = $('.side section:last');
|
||||
$sectionL.hide();
|
||||
$sectionF.height($(window).height()).css({ 'overflow': 'auto', 'width': $('.side').width() + 'px'});;
|
||||
// 切换 tab
|
||||
$('.side > ul > li').click(function () {
|
||||
if ($(this).data('tab') === 'toc') {
|
||||
$sectionL.animate({
|
||||
"opacity": '0',
|
||||
"top": '-50px'
|
||||
}, 300, function () {
|
||||
$sectionF.show().css('top', '-50px');
|
||||
$sectionF.animate({
|
||||
"opacity": '1',
|
||||
"top": '0'
|
||||
}, 300);
|
||||
}).hide();
|
||||
} else {
|
||||
$sectionF.animate({
|
||||
"opacity": '0',
|
||||
"top": '-50px'
|
||||
}, 300, function () {
|
||||
$sectionF.hide().css('top', '-50px');
|
||||
$sectionL.animate({
|
||||
"opacity": '1',
|
||||
"top": '0'
|
||||
}, 300).show();
|
||||
});
|
||||
}
|
||||
$('.side > ul > li').removeClass('current');
|
||||
$(this).addClass('current');
|
||||
});
|
||||
}
|
||||
|
||||
$(window).scroll(function () {
|
||||
if ($(window).scrollTop() > 155) {
|
||||
$('.side section:eq(0)').css({
|
||||
position: "fixed",
|
||||
top: 0,
|
||||
backgroundColor: "#fff",
|
||||
borderLeft: "2px solid #E5ECF9"
|
||||
})
|
||||
} else {
|
||||
$('.side section:eq(0)').css({
|
||||
position: "inherit",
|
||||
borderLeft: 0
|
||||
})
|
||||
}
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,54 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${authorName} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${authorName}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<h2 class="marginLeft12 marginBottom12">
|
||||
${author1Label}${authorName}
|
||||
</h2>
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,56 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${category.categoryTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${category.categoryTitle}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<h2 class="marginLeft12 marginBottom12">
|
||||
${categoryLabel}:
|
||||
${category.categoryTitle}
|
||||
(${category.categoryTagCnt})<small> ${category.categoryDescription}</small>
|
||||
</h2>
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,54 +0,0 @@
|
|||
<#--
|
||||
|
||||
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="${comment.oId}">
|
||||
<div class="comment-panel">
|
||||
<div class="comment-title">
|
||||
<#if "http://" == comment.commentURL>
|
||||
<a>${comment.commentName}</a>
|
||||
<#else>
|
||||
<a href="${comment.commentURL}" target="_blank">${comment.commentName}</a>
|
||||
</#if>
|
||||
<#if comment.isReply>
|
||||
@
|
||||
<a href="${servePath}${article.permalink}#${comment.commentOriginalCommentId}"
|
||||
onmouseover="page.showComment(this, '${comment.commentOriginalCommentId}', 23);"
|
||||
onmouseout="page.hideComment('${comment.commentOriginalCommentId}')">${comment.commentOriginalCommentName}</a>
|
||||
</#if>
|
||||
<div class="right">
|
||||
${comment.commentDate2?string("yyyy-MM-dd HH:mm:ss")}
|
||||
|
||||
<#if article.commentable>
|
||||
<a class="no-underline"
|
||||
href="javascript:page.toggleEditor('${comment.oId}', '${comment.commentName}');">${replyLabel}</a>
|
||||
</#if>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<div class="left comment-picture">
|
||||
<img alt="${comment.commentName}" src="${comment.commentThumbnailURL}"/>
|
||||
</div>
|
||||
<div class="comment-content vditor-reset">
|
||||
${comment.commentContent}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,368 +0,0 @@
|
|||
/**
|
||||
* 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/>.
|
||||
*/
|
||||
@charset "utf-8";
|
||||
/*
|
||||
* skin classic style
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @author <a href="http://88250.b3log.org">Liang Ding</a>
|
||||
* @version 2.0.0.2, Mar 16, 2019
|
||||
*/
|
||||
@import "../../../scss/reset";
|
||||
@import "vditor/src/assets/scss/classic";
|
||||
|
||||
.left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.clear:before,
|
||||
.clear:after {
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
|
||||
.clear:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a, a:link {
|
||||
color: #0000CC;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: red;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #551A8B;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin: 0 auto;
|
||||
max-width: 1250px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.header {
|
||||
height: 108px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.header .page-icon {
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
margin: -1px 3px 0 0;
|
||||
}
|
||||
|
||||
.sub-title {
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.side {
|
||||
border-left: 2px solid #E5ECF9;
|
||||
padding-left: 12px;
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
.main {
|
||||
margin-right: -294px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.main > div {
|
||||
min-width: 280px;
|
||||
padding-right: 318px;
|
||||
}
|
||||
|
||||
#logoTitle {
|
||||
font-family: "Microsoft YaHei";
|
||||
font-size: 32px;
|
||||
line-height: 64px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#statistic span {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.article, .comments {
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
|
||||
.article-title {
|
||||
background-color: #E3E3FF;
|
||||
border-top: 1px solid #3366CC;
|
||||
margin-left: 91px;
|
||||
padding: 3px 0 6px 12px;
|
||||
}
|
||||
|
||||
.article-title sup {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.article-date {
|
||||
background-color: #E3E3FF;
|
||||
border: 1px solid #BBCCFF;
|
||||
float: left;
|
||||
margin: 0 12px 12px 0;
|
||||
border-radius: 5px;
|
||||
padding: 7px 3px;
|
||||
width: 70px;
|
||||
text-align: center;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.article-abstract {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.vditor-reset {
|
||||
margin-left: 12px;
|
||||
line-height: 145%;
|
||||
}
|
||||
|
||||
.article-footer {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.article-footer a, .article-details-footer a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.article-details-footer {
|
||||
margin: 36px 12px 0 0;
|
||||
}
|
||||
|
||||
.article-relative {
|
||||
line-height: 22px;
|
||||
margin-top: 24px;
|
||||
ul {
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
|
||||
.comments {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.comment-title {
|
||||
background-color: #E3E3FF;
|
||||
border-top: 1px solid #3366CC;
|
||||
padding: 3px 12px 3px 12px;
|
||||
}
|
||||
|
||||
.comment-body-ref {
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #E3E3FF;
|
||||
filter: alpha(opacity=90);
|
||||
left: 88px;
|
||||
opacity: 0.9;
|
||||
position: absolute;
|
||||
top: 27px;
|
||||
width: 87%;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.comment-body-ref .comment-title {
|
||||
border-top: 0px;
|
||||
}
|
||||
|
||||
.comment-body {
|
||||
padding: 9px 12px 12px;
|
||||
word-wrap: break-word;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.comment-picture {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.comment-picture img {
|
||||
height: 60px;
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
.comment-reply {
|
||||
margin: 0 auto 24px auto;
|
||||
}
|
||||
|
||||
.comment-content {
|
||||
float: left;
|
||||
width: 88%;
|
||||
}
|
||||
|
||||
#commentURL:focus, #commentURLReply:focus {
|
||||
box-shadow: -3px 1px 2px rgba(0, 0, 0, 0.3) inset;
|
||||
}
|
||||
|
||||
.error-msg {
|
||||
color: #3366CC;
|
||||
}
|
||||
|
||||
.error-footer {
|
||||
bottom: 0px;
|
||||
position: fixed;
|
||||
width: 82%;
|
||||
}
|
||||
|
||||
#sideNavi a.selected {
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.side-navi ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#sideNavi li {
|
||||
line-height: 22px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
-o-text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
#sideNavi li.aboutMe, #sideNavi li.side-navi-notice {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
#sideNavi sup {
|
||||
margin-right: 3px;
|
||||
color: green;
|
||||
}
|
||||
|
||||
.side-comment {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#recentComments p {
|
||||
display: inline;
|
||||
img {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#recentComments div, #recentComments br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.line {
|
||||
border-top: thin dotted #BBBBBB;
|
||||
margin-top: 12px;
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.pagination {
|
||||
margin: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.pagination a, .pagination a:visited {
|
||||
color: #4272DB;
|
||||
padding: 0 3px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.pagination a.selected {
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#tagsPanel .tagPanel {
|
||||
border: 2px solid;
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
margin: 3px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#tagsPanel .tagPanel:hover {
|
||||
background-color: #EEEEEE;
|
||||
border: 2px dashed;
|
||||
}
|
||||
|
||||
#tagsPanel .tagPanel {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.error-title {
|
||||
border-top: 1px solid #3366CC;
|
||||
background-color: #E5ECF9;
|
||||
margin-left: 12px;
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
.error-panel {
|
||||
margin-left: 12px;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.commentIcon, .browserIcon {
|
||||
background-image: url("../../../images/icon.png");
|
||||
cursor: pointer;
|
||||
height: 16px;
|
||||
margin-right: 3px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.commentIcon {
|
||||
background-position: -32px -16px;
|
||||
}
|
||||
|
||||
.browserIcon {
|
||||
background-position: -128px -16px;
|
||||
}
|
||||
|
||||
.goTopIcon {
|
||||
background-position: -128px -32px;
|
||||
}
|
||||
|
||||
.goBottomIcon {
|
||||
background-position: -144px -32px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: center;
|
||||
margin: 30px 0 30px 0;
|
||||
}
|
||||
|
||||
.has-toc > ul > li {
|
||||
list-style: none;
|
||||
float: left;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
margin: 15px 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.has-toc > ul > li.current {
|
||||
color: #3366CC;
|
||||
}
|
|
@ -1,90 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<span style="color: gray;">© ${year}</span> - <a href="${servePath}">${blogTitle}</a>${footerContent}<br/>
|
||||
Powered by <a href="https://b3log.org" target="_blank">B3log 开源</a> • <a href="https://solo.b3log.org" target="_blank">Solo</a> ${version}
|
||||
|
||||
Theme <a rel="friend" href="https://github.com/b3log/solo-skins" target="_blank">${skinDirName}</a>
|
||||
by <a rel="friend" href="http://vanessa.b3log.org" target="_blank">Vanessa</a>.
|
||||
<div class='goTopIcon' onclick='Util.goTop();'></div>
|
||||
<div class='goBottomIcon' onclick='Util.goBottom();'></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}",
|
||||
"isLoggedIn": "${isLoggedIn?string}",
|
||||
"staticServePath": "${staticServePath}"
|
||||
};
|
||||
|
||||
var Label = {
|
||||
"markedAvailable": ${markedAvailable?c},
|
||||
"hljsStyle": "atom-one-light",
|
||||
"langLabel": "${langLabel}",
|
||||
"skinDirName": "${skinDirName}"
|
||||
};
|
||||
|
||||
var collapseArchive = function (it, year) {
|
||||
var tag = true,
|
||||
text = it.innerHTML;
|
||||
if (text.indexOf("-") > -1) {
|
||||
it.innerHTML = text.replace("-", "+");
|
||||
tag = false;
|
||||
} else {
|
||||
it.innerHTML = text.replace("+", "-");
|
||||
}
|
||||
|
||||
$("#archiveSide li").each(function () {
|
||||
var $this = $(this);
|
||||
// hide other year month archives
|
||||
if ($this.data("year") === year) {
|
||||
if (tag) {
|
||||
$(this).show();
|
||||
} else {
|
||||
$(this).hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
var currentYear = (new Date()).getFullYear(),
|
||||
year = currentYear;
|
||||
$("#archiveSide li").each(function (i) {
|
||||
var $this = $(this);
|
||||
|
||||
// hide other year month archives
|
||||
if ($this.data("year") !== currentYear) {
|
||||
$(this).hide()
|
||||
}
|
||||
|
||||
// append year archive
|
||||
if (year !== $this.data("year")) {
|
||||
year = $this.data("year");
|
||||
$this.before("<li class='pointer'><div onclick='collapseArchive(this, " +
|
||||
year + ")'>" + year + " \u5e74 +</div></li>");
|
||||
}
|
||||
});
|
||||
|
||||
Util.init();
|
||||
Util.setTopBar()
|
||||
Util.replaceSideEm($("#recentComments li .side-comment"));
|
||||
});
|
||||
</script>
|
||||
${plugins}
|
|
@ -1,59 +0,0 @@
|
|||
<#--
|
||||
|
||||
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 class="marginBottom12">
|
||||
<h1 class="title">
|
||||
<a href="${servePath}" id="logoTitle" >
|
||||
${blogTitle}
|
||||
</a>
|
||||
<span class="sub-title">${blogSubtitle}</span>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="left">
|
||||
<#list pageNavigations as page>
|
||||
<span>
|
||||
<a href="${page.pagePermalink}" target="${page.pageOpenTarget}"><#if page.pageIcon != ''><img class="page-icon" src="${page.pageIcon}"></#if>${page.pageTitle}</a>
|
||||
</span>
|
||||
</#list>
|
||||
<a href="${servePath}/tags.html">${allTagsLabel}</a>
|
||||
<a rel="alternate" href="${servePath}/rss.xml">RSS</a><a href="${servePath}/rss.xml"><img src="${staticServePath}/images/feed.png" alt="RSS"/></a>
|
||||
<a href="${servePath}/search?keyword=">Search</a>
|
||||
</div>
|
||||
<div class="right" id="statistic">
|
||||
<span>${viewCount1Label}
|
||||
<span class='error-msg'>
|
||||
${statistic.statisticBlogViewCount}
|
||||
</span>
|
||||
|
||||
</span>
|
||||
<span>
|
||||
${articleCount1Label}
|
||||
<span class='error-msg'>
|
||||
${statistic.statisticPublishedBlogArticleCount}
|
||||
</span>
|
||||
|
||||
</span>
|
||||
<span>
|
||||
${commentCount1Label}
|
||||
<span class='error-msg'>
|
||||
${statistic.statisticPublishedBlogCommentCount}
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="clear"></div>
|
Before Width: | Height: | Size: 343 B |
|
@ -1,53 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${blogTitle}">
|
||||
<#if metaKeywords??>
|
||||
<meta name="keywords" content="${metaKeywords}"/>
|
||||
</#if>
|
||||
<#if metaDescription??>
|
||||
<meta name="description" content="${metaDescription}"/>
|
||||
</#if>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,59 +0,0 @@
|
|||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Solo language configurations(en_US).
|
||||
# Version: 2.0.0.0, Feb 23, 2019
|
||||
# Author: Liang Ding
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
|
||||
siteViewLabel=Site
|
||||
tocLabel=Article ToC
|
||||
addUserLabel=Add User
|
||||
url1Label=URL (start protocol, e.g.: http://):
|
||||
pageMgmtLabel=Pages
|
||||
noSignLabel=No Signs
|
||||
commentEmotions1Label=Emotions:
|
||||
commentEmotionsLabel=Emotions
|
||||
commentName1Label=Name:
|
||||
commentNameLabel=Name
|
||||
commentURL1Label=URL:
|
||||
commentURLLabel=URL
|
||||
commentContent1Label=Content:
|
||||
indexMostCommentArticleDisplayCnt1Label=Most Comment Article Display Count:
|
||||
externalRelevantArticlesDisplayCnt1Label=External Relevant Article Display Count:
|
||||
CSDNBlogLabel=CSDN Blog
|
||||
BlogJavaLabel=BlogJava
|
||||
CnBlogsLabel=CnBlogs
|
||||
tencentLabel=Tencent
|
||||
appKey1Label=App Key:
|
||||
appSecret1Label=App Secret:
|
||||
postToTencentMicroblogWhilePublishArticleLabel=Post to Tencent microblog while publish an article:
|
||||
postToCommunityLabel=Post to Community:
|
||||
authorizeTencentMicroblog1Label=Click to authorize:
|
||||
googleLabel=Google
|
||||
OAuthConsumerSecret1Label=OAuth Consumer Secret:
|
||||
b3logLabel=<span style="color: orange;">B</span><span style="color: blue;"><sup>3</sup></span><span style="color: green;">L</span><span style="color: red;">O</span><span style="color: blue;">G</span>
|
||||
keyOfSolo1Label=Solo Key:
|
||||
####
|
||||
tagsEmptyLabel=Tags is empty
|
||||
editorLeaveLabel=Content is not null, Do you leave\uFF1F
|
||||
editorPostLabel=Content is not null, Do you clear\uFF1F
|
||||
####
|
||||
confirmRemoveLabel=Are You Sure?
|
|
@ -1,62 +0,0 @@
|
|||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Solo default language configurations(zh_CN).
|
||||
# Version: 2.0.0.0, Feb 23, 2019
|
||||
# Author: Liang Ding
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
|
||||
siteViewLabel=\u7AD9\u70B9\u6982\u89C8
|
||||
tocLabel=\u6587\u7AE0\u76EE\u5F55
|
||||
addUserLabel=\u6DFB\u52A0\u7528\u6237
|
||||
url1Label=URL (\u8BF7\u4EE5\u534F\u8BAE\u5F00\u5934\uFF0C\u5982: http://)\uFF1A
|
||||
blogSyncLabel=\u535A\u5BA2\u540C\u6B65
|
||||
pageMgmtLabel=\u9875\u9762\u7BA1\u7406
|
||||
noSignLabel=\u4E0D\u4F7F\u7528\u7B7E\u540D\u6863
|
||||
commentEmotions1Label=\u8868\u60C5\uFF1A
|
||||
commentEmotionsLabel=\u8868\u60C5
|
||||
commentName1Label=\u59D3\u540D\uFF1A
|
||||
commentNameLabel=\u59D3\u540D
|
||||
commentURL1Label=URL\uFF1A
|
||||
commentURLLabel=URL
|
||||
commentContent1Label=\u8BC4\u8BBA\u5185\u5BB9\uFF1A
|
||||
blogSyncMgmtLabel=\u535A\u5BA2\u540C\u6B65\u7BA1\u7406
|
||||
syncMgmtLabel=\u540C\u6B65\u7BA1\u7406\u535A\u5BA2
|
||||
syncPostLabel=\u540C\u6B65\u53D1\u5E03
|
||||
syncUpdateLabel=\u540C\u6B65\u66F4\u65B0
|
||||
syncRemoveLabel=\u540C\u6B65\u5220\u9664
|
||||
indexMostViewArticleDisplayCnt1Label=\u8BBF\u95EE\u6700\u591A\u6700\u591A\u6587\u7AE0\u663E\u793A\u6570\u76EE\uFF1A
|
||||
CSDNBlogLabel=CSDN \u535A\u5BA2
|
||||
BlogJavaLabel=BlogJava
|
||||
CnBlogsLabel=\u535A\u5BA2\u56ED
|
||||
tencentLabel=\u817E\u8BAF
|
||||
appKey1Label=App Key:
|
||||
appSecret1Label=App Secret:
|
||||
postToTencentMicroblogWhilePublishArticleLabel=\u53D1\u6587\u7AE0\u65F6\u540C\u6B65\u5230\u817E\u8BAF\u5FAE\u535A\uFF1A
|
||||
postToCommunityLabel=\u53D1\u5E03\u5230\u793E\u533A\uFF1A
|
||||
authorizeTencentMicroblog1Label=\u70B9\u51FB\u56FE\u6807\u8FDB\u884C\u6388\u6743:
|
||||
googleLabel=Google
|
||||
OAuthConsumerSecret1Label=OAuth Consumer Secret\uFF1A
|
||||
b3logLabel=<span style="color: orange;">B</span><span style="color: blue;"><sup>3</sup></span><span style="color: green;">L</span><span style="color: red;">O</span><span style="color: blue;">G</span>
|
||||
keyOfSolo1Label=Solo Key\uFF1A
|
||||
####
|
||||
tagsEmptyLabel=\u6807\u7B7E\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
####
|
||||
confirmRemoveLabel=\u786E\u5B9A\u5220\u9664\uFF1F
|
|
@ -1,36 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#macro comments commentList article>
|
||||
<h2 class="marginBottom12">${commentLabel}</h2>
|
||||
<div class="comments" id="comments">
|
||||
<#if 0 == commentList?size>
|
||||
${noCommentLabel}
|
||||
</#if>
|
||||
<#list commentList as comment>
|
||||
<#include "common-comment.ftl"/>
|
||||
</#list>
|
||||
</div>
|
||||
<#if article.commentable>
|
||||
<div class="comment-title">
|
||||
${postCommentsLabel}
|
||||
</div>
|
||||
<textarea style="width: 100%;box-sizing: border-box" rows="3" placeholder="${postCommentsLabel}" id="comment"></textarea>
|
||||
</#if>
|
||||
</#macro>
|
|
@ -1,36 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#macro head title>
|
||||
<meta charset="utf-8" />
|
||||
<title>${title}</title>
|
||||
<#nested>
|
||||
<meta name="author" content="${blogTitle?html}" />
|
||||
<meta name="generator" content="Solo" />
|
||||
<meta name="owner" content="B3log Team" />
|
||||
<meta name="revised" content="${blogTitle?html}, ${year}" />
|
||||
<meta name="copyright" content="B3log" />
|
||||
<meta http-equiv="Window-target" content="_top" />
|
||||
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" charset="utf-8" />
|
||||
<link href="${servePath}/rss.xml" title="RSS" type="application/rss+xml" rel="alternate" />
|
||||
<link rel="icon" type="image/png" href="${faviconURL}" />
|
||||
<link rel="manifest" href="${servePath}/manifest.json">
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="${title}" href="/opensearch.xml">
|
||||
${htmlHead}
|
||||
</#macro>
|
|
@ -1,59 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<#include "macro-comments.ftl">
|
||||
<#include "../../common-template/macro-comment_script.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${page.pageTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${page.pageTitle}" />
|
||||
<meta name="description" content="${metaDescription}" />
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<div class="article">
|
||||
<div class="vditor-reset">
|
||||
${page.pageContent}
|
||||
</div>
|
||||
</div>
|
||||
<@comments commentList=pageComments article=page></@comments>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
<@comment_script oId=page.oId commentable=page.commentable></@comment_script>
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 16 KiB |
175
classic/side.ftl
|
@ -1,175 +0,0 @@
|
|||
<#--
|
||||
|
||||
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="sideNavi" class="side-navi">
|
||||
<#if "" != noticeBoard>
|
||||
<ul class="marginTop12">
|
||||
<li>
|
||||
<h4>${noticeBoardLabel}</h4>
|
||||
</li>
|
||||
<li class="side-navi-notice">${noticeBoard}</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != recentComments?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${recentCommentsLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul id="recentComments">
|
||||
<#list recentComments as comment>
|
||||
<li>
|
||||
<#if "http://" == comment.commentURL>
|
||||
${comment.commentName}<#else>
|
||||
<a target="_blank" href="${comment.commentURL}">
|
||||
${comment.commentName}</a></#if>:
|
||||
<a rel="nofollow" class='side-comment vditor-reset' href="${servePath}${comment.commentSharpURL}">
|
||||
${comment.commentContent}
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != mostCommentArticles?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${mostCommentArticlesLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul>
|
||||
<#list mostCommentArticles as article>
|
||||
<li>
|
||||
<sup>[${article.articleCommentCount}]</sup><a rel="nofollow" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">${article.articleTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != mostViewCountArticles?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${mostViewCountArticlesLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul id="mostViewCountArticles">
|
||||
<#list mostViewCountArticles as article>
|
||||
<li>
|
||||
<sup>[${article.articleViewCount}]</sup><a trel="nofollow" itle="${article.articleTitle}" href="${servePath}${article.articlePermalink}">${article.articleTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
|
||||
<#if 0 != mostUsedCategories?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${categoryLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul>
|
||||
<#list mostUsedCategories as category>
|
||||
<li>
|
||||
<a class="tag" href="${servePath}/category/${category.categoryURI}">
|
||||
${category.categoryTitle}</a> (${category.categoryTagCnt})
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
|
||||
|
||||
<#if 0 != mostUsedTags?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${tagsLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul>
|
||||
<#list mostUsedTags as tag>
|
||||
<li>
|
||||
<a rel="alternate" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}" class="no-underline">
|
||||
</a>
|
||||
<a rel="tag" title="${tag.tagTitle}(${tag.tagPublishedRefCount})" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">
|
||||
${tag.tagTitle}</a>
|
||||
(${tag.tagPublishedRefCount})
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != links?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${linkLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul id="sideLink">
|
||||
<#list links as link>
|
||||
<li>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">
|
||||
<img alt="${link.linkTitle}"
|
||||
src="${faviconAPI}<#list link.linkAddress?split('/') as x><#if x_index=2>${x}<#break></#if></#list>" width="16" height="16" /></a>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">${link.linkTitle}
|
||||
</a>
|
||||
<#-- ${link.linkDescription} -->
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != archiveDates?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${archiveLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul id="archiveSide">
|
||||
<#list archiveDates as archiveDate>
|
||||
<li data-year="${archiveDate.archiveDateYear}">
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.monthName} ${archiveDate.archiveDateYear}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.monthName} ${archiveDate.archiveDateYear}</a>(${archiveDate.archiveDatePublishedArticleCount})
|
||||
<#else>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}</a>(${archiveDate.archiveDatePublishedArticleCount})
|
||||
</#if>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</#if>
|
||||
</div>
|
|
@ -1,27 +0,0 @@
|
|||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Classic blue skin.
|
||||
# Version: 1.0.0.8, Nov 21, 2012
|
||||
# Author: Liang Ding
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
|
||||
name=classic
|
||||
memo=\u8FD9\u4E2A\u76AE\u80A4\u5F88\u4E11\u4E48\uFF1F\u6211\u52D2\u4E2A\u53BB\u3002
|
|
@ -1,56 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${tag.tagTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${tag.tagTitle}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<h2 class="marginLeft12 marginBottom12">${tag1Label}
|
||||
<a rel="alternate" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}"><span id="tagArticlesTag">
|
||||
${tag.tagTitle}
|
||||
</span>(${tag.tagPublishedRefCount})</a>
|
||||
</h2>
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,64 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${allTagsLabel} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${allTagsLabel}"/>
|
||||
<meta name="description" content="<#list tags as tag>${tag.tagTitle}<#if tag_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
<#include "header.ftl">
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="left main">
|
||||
<div>
|
||||
<ul id="tags">
|
||||
<#list tags as tag>
|
||||
<li>
|
||||
<a rel="tag" data-count="${tag.tagPublishedRefCount}"
|
||||
href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}" title="${tag.tagTitle}">
|
||||
<span>${tag.tagTitle}</span>
|
||||
(<b>${tag.tagPublishedRefCount}</b>)
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right side">
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<#include "footer.ftl">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
Util.buildTags();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,46 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount}) - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${archiveDate.archiveDateYear}${archiveDate.archiveDateMonth}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="main">
|
||||
<div class="wrapper">
|
||||
<h2 id="archive">${archive1Label}
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount})
|
||||
<#else>
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel} (${archiveDate.archiveDatePublishedArticleCount})
|
||||
</#if>
|
||||
</h2>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
|
@ -1,55 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${archiveLabel} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${archiveLabel}"/>
|
||||
<meta name="description" content="${metaDescription},${archiveLabel}"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="main">
|
||||
<div class="wrapper">
|
||||
<#if 0 != archiveDates?size>
|
||||
<div class="other-main archives">
|
||||
<#list archiveDates as archiveDate>
|
||||
<span data-year="${archiveDate.archiveDateYear}">
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.monthName} ${archiveDate.archiveDateYear}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.monthName} ${archiveDate.archiveDateYear}(${archiveDate.archiveDatePublishedArticleCount})</a>
|
||||
<#else>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}(${archiveDate.archiveDatePublishedArticleCount})</a>
|
||||
</#if>
|
||||
</span>
|
||||
</#list>
|
||||
</div>
|
||||
</#if>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
|
@ -1,76 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<ul>
|
||||
<#list articles as article>
|
||||
<li class="article<#if !article_has_next> article-last</#if>">
|
||||
<div class="article-title">
|
||||
<h2>
|
||||
<a rel="bookmark" class="ft-gray" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
<#if article.hasUpdated>
|
||||
<sup>
|
||||
${updatedLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
<#if article.articlePutTop>
|
||||
<sup>
|
||||
${topArticleLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
</h2>
|
||||
<div class="right">
|
||||
<a rel="nofollow" class="ft-gray" href="${servePath}${article.articlePermalink}#comments">
|
||||
${article.articleCommentCount} ${commentLabel}
|
||||
</a>
|
||||
<a rel="nofollow" class="ft-gray" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleViewCount} ${viewLabel}
|
||||
</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="vditor-reset">
|
||||
<div id="abstract${article.oId}">
|
||||
${article.articleAbstract}
|
||||
</div>
|
||||
<div id="content${article.oId}" class="none"></div>
|
||||
</div>
|
||||
<div class="right ft-gray">
|
||||
<#if article.hasUpdated>
|
||||
${article.articleUpdateDate?string("yy-MM-dd HH:mm")}
|
||||
<#else>
|
||||
${article.articleCreateDate?string("yy-MM-dd HH:mm")}
|
||||
</#if>
|
||||
<a rel="nofollow" href="${servePath}/authors/${article.authorId}">${article.authorName}</a>
|
||||
</div>
|
||||
<div class="left ft-gray">
|
||||
${tag1Label}
|
||||
<#list article.articleTags?split(",") as articleTag>
|
||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">
|
||||
${articleTag}</a><#if articleTag_has_next>, </#if>
|
||||
</#list>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
<#if paginationCurrentPageNum != paginationPageCount && 0 != paginationPageCount>
|
||||
<div class="article-next ft-gray" onclick="getNextPage()" data-page="${paginationCurrentPageNum}">${moreLabel}</div>
|
||||
</#if>
|
149
ease/article.ftl
|
@ -1,149 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<#include "macro-comments.ftl">
|
||||
<#include "../../common-template/macro-comment_script.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${article.articleTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${article.articleTags}" />
|
||||
<meta name="description" content="${article.articleAbstract?html}" />
|
||||
</@head>
|
||||
<#if previousArticlePermalink??>
|
||||
<link rel="prev" title="${previousArticleTitle}" href="${servePath}${previousArticlePermalink}">
|
||||
</#if>
|
||||
<#if nextArticlePermalink??>
|
||||
<link rel="next" title="${nextArticleTitle}" href="${servePath}${nextArticlePermalink}">
|
||||
</#if>
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:locale" content="zh_CN"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:title" content="${article.articleTitle}"/>
|
||||
<meta property="og:description" content="${article.articleAbstract?html}"/>
|
||||
<meta property="og:image" content="${article.authorThumbnailURL}"/>
|
||||
<meta property="og:url" content="${servePath}${article.articlePermalink}"/>
|
||||
<meta property="og:site_name" content="Solo"/>
|
||||
<!-- Twitter Card -->
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:description" content="${article.articleAbstract?html}"/>
|
||||
<meta name="twitter:title" content="${article.articleTitle}"/>
|
||||
<meta name="twitter:image" content="${article.authorThumbnailURL}"/>
|
||||
<meta name="twitter:url" content="${servePath}${article.articlePermalink}"/>
|
||||
<meta name="twitter:site" content="@DL88250"/>
|
||||
<meta name="twitter:creator" content="@DL88250"/>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="main">
|
||||
<div class="wrapper">
|
||||
<div class="article">
|
||||
<div class="article-title">
|
||||
<h2>
|
||||
<a class="ft-gray" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
<#if article.hasUpdated>
|
||||
<sup>
|
||||
${updatedLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
<#if article.articlePutTop>
|
||||
<sup>
|
||||
${topArticleLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
</h2>
|
||||
<div class="right">
|
||||
<a rel="nofollow" class="ft-gray" href="${servePath}${article.articlePermalink}#comments">
|
||||
${article.articleCommentCount} ${commentLabel}
|
||||
</a>
|
||||
<a rel="nofollow" class="ft-gray" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleViewCount} ${viewLabel}
|
||||
</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="vditor-reset">
|
||||
${article.articleContent}
|
||||
<#if "" != article.articleSign.signHTML?trim>
|
||||
<p>
|
||||
${article.articleSign.signHTML}
|
||||
</p>
|
||||
</#if>
|
||||
</div>
|
||||
<div class="right ft-gray">
|
||||
<#if article.hasUpdated>
|
||||
${article.articleUpdateDate?string("yy-MM-dd HH:mm")}
|
||||
<#else>
|
||||
${article.articleCreateDate?string("yy-MM-dd HH:mm")}
|
||||
</#if>
|
||||
<a rel="nofollow" href="${servePath}/authors/${article.authorId}">${article.authorName}</a>
|
||||
</div>
|
||||
<div class="left ft-gray">
|
||||
${tag1Label}
|
||||
<#list article.articleTags?split(",") as articleTag>
|
||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">${articleTag}</a><#if articleTag_has_next>,</#if>
|
||||
</#list>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="fn-mgtb10">
|
||||
<#if 0 != relevantArticlesDisplayCount>
|
||||
<div id="relevantArticles" class="article-relative"></div>
|
||||
</#if>
|
||||
<#if 0 != randomArticlesDisplayCount>
|
||||
<div id="randomArticles" class="article-relative"></div>
|
||||
</#if>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<#if nextArticlePermalink??>
|
||||
<div class="left">
|
||||
<span class="ft-gray"><</span>
|
||||
<a href="${servePath}${nextArticlePermalink}">${nextArticleTitle}</a>
|
||||
</div>
|
||||
</#if>
|
||||
<#if previousArticlePermalink??>
|
||||
<div class="right">
|
||||
<a href="${servePath}${previousArticlePermalink}">${previousArticleTitle}</a>
|
||||
<span class="ft-gray">></span>
|
||||
</div>
|
||||
</#if>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<@comments commentList=articleComments article=article></@comments>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
<@comment_script oId=article.oId commentable=article.commentable>
|
||||
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
|
||||
<#if 0 != randomArticlesDisplayCount>
|
||||
page.loadRandomArticles('<h4 class="ft-gray">${randomArticlesLabel}</h4>');
|
||||
</#if>
|
||||
<#if 0 != relevantArticlesDisplayCount>
|
||||
page.loadRelevantArticles('${article.oId}', '<h4 class="ft-gray">${relevantArticlesLabel}</h4>');
|
||||
</#if>
|
||||
<#if 0 != externalRelevantArticlesDisplayCount>
|
||||
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>",
|
||||
'<h4 class="ft-gray">${externalRelevantArticlesLabel}</h4>');
|
||||
</#if>
|
||||
</@comment_script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${authorName} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${authorName}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="main">
|
||||
<div class="wrapper">
|
||||
<h2 id="author">${author1Label}${authorName}</h2>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
|
@ -1,45 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${category.categoryTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${category.categoryTitle}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="main">
|
||||
<div class="wrapper">
|
||||
<h2>
|
||||
${categoryLabel}
|
||||
${category.categoryTitle}
|
||||
(${category.categoryTagCnt})
|
||||
</h2>
|
||||
${category.categoryDescription}
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
|
@ -1,46 +0,0 @@
|
|||
<#--
|
||||
|
||||
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="${comment.oId}">
|
||||
<img class="comment-header" title="${comment.commentName}"
|
||||
alt="${comment.commentName}" src="${comment.commentThumbnailURL}"/>
|
||||
<div class="comment-panel">
|
||||
<div class="left">
|
||||
<#if "http://" == comment.commentURL>
|
||||
<a>${comment.commentName}</a>
|
||||
<#else>
|
||||
<a href="${comment.commentURL}" target="_blank">${comment.commentName}</a>
|
||||
</#if>
|
||||
<#if comment.isReply>@
|
||||
<a href="${servePath}${article.permalink}#${comment.commentOriginalCommentId}"
|
||||
onmouseover="page.showComment(this, '${comment.commentOriginalCommentId}', 20);"
|
||||
onmouseout="page.hideComment('${comment.commentOriginalCommentId}')">${comment.commentOriginalCommentName}</a>
|
||||
</#if>
|
||||
</div>
|
||||
<#if article.commentable>
|
||||
<div class="right ft-gray">
|
||||
${comment.commentDate2?string("yy-MM-dd HH:mm")}
|
||||
<a rel="nofollow" href="javascript:page.toggleEditor('${comment.oId}', '${comment.commentName}');">${replyLabel}</a>
|
||||
</div>
|
||||
</#if>
|
||||
<span class="clear"></span>
|
||||
<div class="vditor-reset">${comment.commentContent}</div>
|
||||
</div>
|
||||
<span class="clear"></span>
|
||||
</div>
|
|
@ -1,692 +0,0 @@
|
|||
/**
|
||||
* 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/>.
|
||||
*/
|
||||
/*
|
||||
* Skin ease style.
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 2.1.0.1, Mar 16, 2019
|
||||
*/
|
||||
@import "vditor/src/assets/scss/classic";
|
||||
/* start base */
|
||||
html, body, div, ul, li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Verdana, arial, '\5fae\8f6f\96c5\9ed1';
|
||||
font-size: 12px;
|
||||
background-color: #FCFCFC;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: #D5D5D5;
|
||||
color: #FCFCFC;
|
||||
}
|
||||
|
||||
::-moz-selection {
|
||||
background-color: #D5D5D5;
|
||||
color: #FCFCFC;
|
||||
}
|
||||
|
||||
a {
|
||||
outline: none;
|
||||
color: #009EB8;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #00b4d2;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #00889f;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
border: 0;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
textarea, input {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
sup {
|
||||
font-size: 10px;
|
||||
font-weight: normal;
|
||||
-webkit-text-size-adjust: none;
|
||||
}
|
||||
|
||||
.left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.clear {
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
clear: both;
|
||||
display: block;
|
||||
font-size: 0;
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ft-gray {
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
.ft-gray:visited {
|
||||
color: #9a9a9a
|
||||
}
|
||||
|
||||
.ft-gray:hover {
|
||||
color: #676767;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.fn-mgtb10 {
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.logo {
|
||||
padding: 0 5px;
|
||||
text-shadow: 0 0 1px #D5D5D5;
|
||||
}
|
||||
|
||||
/* end base */
|
||||
|
||||
/* start ico */
|
||||
#search,
|
||||
.translate-ico {
|
||||
background-image: url("/skins/ease/images/icons.png");
|
||||
}
|
||||
|
||||
.translate-ico {
|
||||
background-position: 1px -125px;
|
||||
background-repeat: no-repeat;
|
||||
border: 1px solid #D5D5D5;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
height: 16px;
|
||||
margin: -3px 0 0 15px;
|
||||
padding: 1px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.translate-ico:hover {
|
||||
border-color: #9a9a9a;
|
||||
box-shadow: 0 0 1px #808080;
|
||||
background-color: #FCFCFC;
|
||||
}
|
||||
|
||||
/* end ico */
|
||||
|
||||
/* start frame */
|
||||
.wrapper {
|
||||
margin: 0 auto;
|
||||
width: 990px;
|
||||
}
|
||||
|
||||
.main {
|
||||
background-color: #FFF;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
/* end frame */
|
||||
|
||||
/* start header */
|
||||
.header {
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.header .title {
|
||||
border-bottom: 1px solid #808080;
|
||||
font-size: 26px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.header .sub-title {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
#search {
|
||||
background-position: 7px -99px;
|
||||
background-repeat: no-repeat;
|
||||
background-color: #FFF;
|
||||
border: 1px solid #D5D5D5;
|
||||
border-radius: 2px 2px 2px 2px;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
|
||||
color: #808080;
|
||||
float: right;
|
||||
font-size: 14px;
|
||||
height: 19px;
|
||||
line-height: 145%;
|
||||
padding: 4px 10px 4px 28px;
|
||||
width: 24px;
|
||||
-moz-transition: width 0.4s ease, background 0.4s ease;
|
||||
-webkit-transition: width 0.4s ease, background 0.4s ease;
|
||||
transition: width 0.4s ease, background 0.4s ease;
|
||||
}
|
||||
|
||||
#search:focus {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
.banner {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.banner .notice {
|
||||
float: left;
|
||||
margin: 20px 0 0 50px;
|
||||
}
|
||||
|
||||
.nav {
|
||||
background-color: #2C2C2C;
|
||||
box-shadow: 0 2px 2px #D5D5D5, 0 3px 3px -3px #D5D5D5 inset;
|
||||
border-top: 1px solid #e2e2e2;
|
||||
border-bottom: 1px solid #e2e2e2;
|
||||
height: 29px;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.nav ul {
|
||||
list-style: none;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.nav li {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.nav a {
|
||||
color: #C9C9C9;
|
||||
display: block;
|
||||
float: left;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: 29px;
|
||||
margin-right: 20px;
|
||||
padding: 0 10px;
|
||||
text-decoration: none;
|
||||
transition: color .4s ease, background-color .8s ease;
|
||||
-webkit-transition: color .4s ease, background-color .8s ease;
|
||||
-moz-transition: color .4s ease, background-color .8s ease;
|
||||
}
|
||||
|
||||
.nav a:hover {
|
||||
color: #FFF;
|
||||
background-color: #535353;
|
||||
}
|
||||
|
||||
.nav a.current {
|
||||
background-color: #FFF;
|
||||
box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.1) inset, 0 1px 1px rgba(0, 0, 0, 0.1) inset;
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
.nav img {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.nav .page-icon {
|
||||
float: left;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
margin: 8px 5px 0 0;
|
||||
}
|
||||
|
||||
/* end header */
|
||||
|
||||
/* start footer */
|
||||
.footer {
|
||||
border-top: 1px solid #D5D5D5;
|
||||
box-shadow: 0 -1px 1px #D5D5D5;
|
||||
font-size: 11px;
|
||||
padding: 12px 0;
|
||||
-webkit-text-size-adjust: none;
|
||||
}
|
||||
|
||||
#goTop {
|
||||
background: url("/skins/ease/images/icons.png") no-repeat scroll 5px -51px #D5D5D5;
|
||||
border-radius: 2px 2px 0 0;
|
||||
box-shadow: 0 0 3px #D5D5D5;
|
||||
cursor: pointer;
|
||||
font-size: 11px;
|
||||
height: 21px;
|
||||
line-height: 21px;
|
||||
padding: 0 10px 0 23px;
|
||||
position: absolute;
|
||||
right: 50px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#goTop:hover {
|
||||
background-color: #c8c8c8;
|
||||
box-shadow: 0 0 3px #c8c8c8;
|
||||
}
|
||||
|
||||
/* end footer*/
|
||||
|
||||
/* start article list */
|
||||
.wrapper > ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.main > .wrapper > h2 {
|
||||
margin: 0;
|
||||
padding: 14px 0;
|
||||
}
|
||||
|
||||
.article {
|
||||
border-bottom: 1px solid #f6f6f6;
|
||||
padding: 30px 50px;
|
||||
}
|
||||
|
||||
.article:hover {
|
||||
border-bottom-color: #ddd;
|
||||
box-shadow: 0 0 1px #f6f6f6 inset;
|
||||
background-color: #FCFCFC;
|
||||
}
|
||||
|
||||
.vditor-reset {
|
||||
a {
|
||||
color: #808080;
|
||||
text-decoration: underline;
|
||||
&:visited {
|
||||
color: #9a9a9a
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: #676767;
|
||||
}
|
||||
}
|
||||
|
||||
& > div {
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.article-title h2 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.article-title span {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.article-last:hover {
|
||||
border-bottom: 1px solid #f6f6f6;
|
||||
}
|
||||
|
||||
.article-next {
|
||||
border: 1px solid #eee;
|
||||
background-color: #F9F9F9;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
line-height: 36px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.article-next:hover {
|
||||
background-color: #FCFCFC;
|
||||
}
|
||||
|
||||
/* end article list */
|
||||
|
||||
/* start article */
|
||||
.article-relative {
|
||||
background-color: #FCFCFC;
|
||||
box-shadow: 0 0 2px #D5D5D5;
|
||||
float: left;
|
||||
margin: 10px 0;
|
||||
padding: 0 20px 10px;
|
||||
width: 382px;
|
||||
min-height: 134px;
|
||||
}
|
||||
|
||||
.article-relative:hover {
|
||||
background-color: #fff;
|
||||
box-shadow: 0 0 4px #D5D5D5;
|
||||
}
|
||||
|
||||
.article-relative ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#relevantArticles {
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
#externalRelevantArticles {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* end article*/
|
||||
|
||||
/* start comment */
|
||||
#comments {
|
||||
padding: 20px 50px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.comment-header {
|
||||
float: left;
|
||||
background-color: #FFF;
|
||||
border: 1px solid #DEDEDE;
|
||||
padding: 2px;
|
||||
height: 60px;
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
.comment-panel {
|
||||
float: left;
|
||||
line-height: 16px;
|
||||
margin: 0 0 20px 10px;
|
||||
min-height: 64px;
|
||||
overflow: hidden;
|
||||
width: 814px;
|
||||
}
|
||||
|
||||
.comment-body-ref {
|
||||
background-color: #FCFCFC;
|
||||
box-shadow: 0 0 2px #D5D5D5;
|
||||
display: block;
|
||||
left: 127px;
|
||||
padding: 10px;
|
||||
opacity: 0.9;
|
||||
filter: alpha(opacity=90);
|
||||
position: absolute;
|
||||
border: 1px solid #e2e2e2;
|
||||
}
|
||||
|
||||
.comment-body-ref > .comment-header {
|
||||
border: 0 none;
|
||||
float: right;
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.comment-body-ref > .comment-panel {
|
||||
margin: 0 20px 0 0;
|
||||
min-height: 48px;
|
||||
width: 725px;
|
||||
}
|
||||
|
||||
.comment-body-ref > .comment-panel > .right {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.form {
|
||||
padding: 0 50px 20px;
|
||||
}
|
||||
|
||||
.wrapper > .form {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.form th {
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.form input[type="text"],
|
||||
.form input[type="password"],
|
||||
.form textarea {
|
||||
background-color: #FCFCFC;
|
||||
border-width: 0;
|
||||
box-shadow: 0 0 2px #BCBCBC;
|
||||
font-family: Verdana, arial, \5fae\8f6f\96c5\9ed1;
|
||||
font-size: 12px;
|
||||
margin: 0 5px 10px 0;
|
||||
outline: medium none;
|
||||
padding: 0 3px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
width: 260px;
|
||||
}
|
||||
|
||||
.form input:focus,
|
||||
.form textarea:focus {
|
||||
box-shadow: 0 0 4px #D5D5D5;
|
||||
}
|
||||
|
||||
.form textarea {
|
||||
height: 146px;
|
||||
overflow: auto;
|
||||
width: 426px;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.form button {
|
||||
background-color: #F6F6F6;
|
||||
border: 0 none;
|
||||
box-shadow: 0 0 2px #D5D5D5;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
padding: 0 12px;
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
.form button:hover {
|
||||
box-shadow: 0 0 4px #D5D5D5;
|
||||
text-shadow: 0 0 2px;
|
||||
}
|
||||
|
||||
.form img {
|
||||
background-color: #FCFCFC;
|
||||
box-shadow: 0 0 2px #D5D5D5;
|
||||
cursor: pointer;
|
||||
height: 24px;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
/* end comment */
|
||||
|
||||
/* start tags */
|
||||
#tags.other-main {
|
||||
margin: 47px 44px 0;
|
||||
width: 902px;
|
||||
}
|
||||
|
||||
#tags li {
|
||||
float: left;
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
#tags a {
|
||||
margin: 3px 6px;
|
||||
padding: 3px 12px;
|
||||
background-color: #FCFCFC;
|
||||
box-shadow: 0 0 2px #D5D5D5;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#tags a:hover {
|
||||
text-shadow: 0 0 2px;
|
||||
text-decoration: none;
|
||||
box-shadow: 0 0 4px #D5D5D5;
|
||||
}
|
||||
|
||||
.tags1, .tags1:visited {
|
||||
font-size: 12px;
|
||||
color: #a7a7a7;
|
||||
}
|
||||
|
||||
.tags2, .tags2:visited {
|
||||
font-size: 14px;
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
.tags3, .tags3:visited {
|
||||
font-size: 16px;
|
||||
color: #595959;
|
||||
}
|
||||
|
||||
.tags4, .tags4:visited {
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
}
|
||||
|
||||
.tags5, .tags5:visited {
|
||||
font-size: 20px;
|
||||
color: #0a0a0a;
|
||||
}
|
||||
|
||||
/* end tags */
|
||||
|
||||
/* start archives */
|
||||
.archives {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.archives > div {
|
||||
background-color: #FCFCFC;
|
||||
box-shadow: 0 0 2px #D5D5D5;
|
||||
padding-bottom: 20px;
|
||||
line-height: 20px;
|
||||
margin: 20px;
|
||||
width: 270px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.archives h3 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.archives > div:hover {
|
||||
box-shadow: 0 0 4px #D5D5D5;
|
||||
}
|
||||
|
||||
.archives a {
|
||||
display: block;
|
||||
margin-left: 77px;
|
||||
}
|
||||
|
||||
/* end archives */
|
||||
|
||||
/* start dynamic */
|
||||
.dynamic ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.dynamic h3 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.dynamic .module {
|
||||
background-color: #FCFCFC;
|
||||
box-shadow: 0 0 2px #D5D5D5;
|
||||
float: left;
|
||||
line-height: 20px;
|
||||
margin: 20px;
|
||||
padding: 10px 20px 20px;
|
||||
width: 380px;
|
||||
}
|
||||
|
||||
.dynamic .module:hover {
|
||||
box-shadow: 0 0 4px #D5D5D5;
|
||||
}
|
||||
|
||||
.dynamic .side-comments {
|
||||
width: 840px;
|
||||
}
|
||||
|
||||
.dynamic .side-comments .comment-panel {
|
||||
width: 760px;
|
||||
}
|
||||
|
||||
.dynamic .side-tags li {
|
||||
float: left;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
.dynamic .side-most-comment,
|
||||
.dynamic .side-most-view {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* end dynamic */
|
||||
|
||||
/* start links */
|
||||
.other-main.links {
|
||||
margin-top: 45px;
|
||||
}
|
||||
|
||||
.links li {
|
||||
float: left;
|
||||
line-height: 22px;
|
||||
margin: 0 20px;
|
||||
width: 270px;
|
||||
}
|
||||
|
||||
/* end links */
|
||||
|
||||
/* start not list */
|
||||
.other-main {
|
||||
display: inline-block;
|
||||
margin: 30px 30px 0;
|
||||
width: 930px;
|
||||
}
|
||||
|
||||
#tags a,
|
||||
.archives > div,
|
||||
.dynamic .module,
|
||||
.form input[type="text"],
|
||||
.form input[type="password"],
|
||||
.form textarea,
|
||||
.article-relative {
|
||||
border: 1px solid #f2f2f2;
|
||||
}
|
||||
|
||||
#tags a:hover,
|
||||
.archives > div:hover,
|
||||
.dynamic .module:hover,
|
||||
.form input:focus,
|
||||
.form textarea:focus,
|
||||
.article-relative:hover {
|
||||
border: 1px solid #e2e2e2;
|
||||
}
|
||||
|
||||
/* end not list */
|
144
ease/dynamic.ftl
|
@ -1,144 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${dynamicLabel}"/>
|
||||
<meta name="description" content="${metaDescription},${dynamicLabel}"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="main">
|
||||
<div class="wrapper dynamic">
|
||||
<div class="other-main">
|
||||
<#if 0 != recentComments?size>
|
||||
<div class="module side-comments">
|
||||
<h3 class="ft-gray">${recentCommentsLabel}</h3>
|
||||
<ul>
|
||||
<#list recentComments as comment>
|
||||
<li>
|
||||
<img class='comment-header'
|
||||
alt='${comment.commentName}'
|
||||
src='${comment.commentThumbnailURL}'/>
|
||||
<div class='comment-panel'>
|
||||
<span class="left">
|
||||
<#if "http://" == comment.commentURL>
|
||||
${comment.commentName}
|
||||
<#else>
|
||||
<a target="_blank" href="${comment.commentURL}">${comment.commentName}</a>
|
||||
</#if>
|
||||
</span>
|
||||
<div class="right ft-gray">
|
||||
${comment.commentDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
<a rel="nofollow" href="${servePath}${comment.commentSharpURL}">${viewLabel}</a>
|
||||
</div>
|
||||
<span class="clear"></span>
|
||||
<div class="vditor-reset">
|
||||
${comment.commentContent}
|
||||
</div>
|
||||
</div>
|
||||
<div class='clear'></div>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</#if>
|
||||
<#if 0 != mostUsedTags?size>
|
||||
<div class="module side-tags">
|
||||
<h3 class="ft-gray">${tagsLabel}</h3>
|
||||
<ul>
|
||||
<#list mostUsedTags as tag>
|
||||
<li>
|
||||
<a rel="tag" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}"
|
||||
title="${tag.tagTitle}(${tag.tagPublishedRefCount})">
|
||||
<span>${tag.tagTitle}</span>
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
<#if 0 != mostUsedCategories?size>
|
||||
<div class="module side-categories">
|
||||
<h3 class="ft-gray">${categoryLabel}</h3>
|
||||
<ul>
|
||||
<#list mostUsedCategories as category>
|
||||
<li>
|
||||
<a href="${servePath}/category/${category.categoryURI}"
|
||||
title="${category.categoryTitle} (${category.categoryTagCnt})">
|
||||
${category.categoryTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
<div class="clear"></div>
|
||||
<#if 0 != mostCommentArticles?size>
|
||||
<div class="module side-most-comment">
|
||||
<h3 class="ft-gray">${mostCommentArticlesLabel}</h3>
|
||||
<ul>
|
||||
<#list mostCommentArticles as article>
|
||||
<li>
|
||||
<a rel="nofollow" class="left" title="${article.articleTitle}"
|
||||
href="${servePath}${article.articlePermalink}">
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
<a rel="nofollow" class="ft-gray right" href="${servePath}${article.articlePermalink}#comments">
|
||||
${article.articleCommentCount} ${commentLabel}
|
||||
</a>
|
||||
<span class="clear"></span>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</#if>
|
||||
<#if 0 != mostViewCountArticles?size>
|
||||
<div class="module side-most-view">
|
||||
<h3 class="ft-gray">${mostViewCountArticlesLabel}</h3>
|
||||
<ul>
|
||||
<#list mostViewCountArticles as article>
|
||||
<li>
|
||||
<a rel="nofollow" class="left" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleTitle}
|
||||
</a>
|
||||
<a rel="nofollow" class="ft-gray right" href="${servePath}${article.articlePermalink}">
|
||||
${article.articleViewCount} ${viewLabel}
|
||||
</a>
|
||||
<span class="clear"></span>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</#if>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
|
@ -1,78 +0,0 @@
|
|||
<#--
|
||||
|
||||
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 class="footer">
|
||||
<div class="wrapper">
|
||||
<div class="left">
|
||||
<span class="ft-gray">© ${year}</span> - <a href="${servePath}">${blogTitle}</a>${footerContent}
|
||||
Powered by <a href="https://b3log.org" target="_blank">B3log 开源</a> • <a href="https://solo.b3log.org" target="_blank">Solo</a> ${version}
|
||||
Theme <a rel="friend" href="https://github.com/b3log/solo-skins" target="_blank">${skinDirName}</a>
|
||||
by <a rel="friend" rel="friend" href="http://vanessa.b3log.org" target="_blank">Vanessa</a>.
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="left">
|
||||
${viewCount1Label}
|
||||
<span class="ft-gray">
|
||||
${statistic.statisticBlogViewCount}
|
||||
</span>
|
||||
|
||||
${articleCount1Label}
|
||||
<span class="ft-gray">
|
||||
${statistic.statisticPublishedBlogArticleCount}
|
||||
</span>
|
||||
|
||||
${commentCount1Label}
|
||||
<span class="ft-gray">
|
||||
${statistic.statisticPublishedBlogCommentCount}
|
||||
</span>
|
||||
</div>
|
||||
<span class="translate-ico" onclick="goTranslate()"></span>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="goTop" onclick="Util.goTop()">TOP</div>
|
||||
<script type="text/javascript">
|
||||
var latkeConfig = {
|
||||
"servePath": "${servePath}",
|
||||
"isLoggedIn": "${isLoggedIn?string}",
|
||||
"staticServePath": "${staticServePath}"
|
||||
};
|
||||
|
||||
var Label = {
|
||||
"markedAvailable": ${markedAvailable?c},
|
||||
"hljsStyle": "atom-one-light",
|
||||
"langLabel": "${langLabel}",
|
||||
"tag1Label": "${tag1Label}",
|
||||
"viewLabel": "${viewLabel}",
|
||||
"commentLabel": "${commentLabel}",
|
||||
"topArticleLabel": "${topArticleLabel}",
|
||||
"updatedLabel": "${updatedLabel}",
|
||||
"contentLabel": "${contentLabel}",
|
||||
"abstractLabel": "${abstractLabel}",
|
||||
"adminLabel": "${adminLabel}",
|
||||
"logoutLabel": "${logoutLabel}",
|
||||
"skinDirName": "${skinDirName}"
|
||||
};
|
||||
</script>
|
||||
<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" src="${staticServePath}/skins/${skinDirName}/js/${skinDirName}${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
|
||||
${plugins}
|
|
@ -1,71 +0,0 @@
|
|||
<#--
|
||||
|
||||
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 class="header">
|
||||
<div class="wrapper banner">
|
||||
<div class="left">
|
||||
<h1>
|
||||
<a class="title ft-gray" href="${servePath}">
|
||||
${blogTitle}
|
||||
</a>
|
||||
</h1>
|
||||
<span class="sub-title">${blogSubtitle}</span>
|
||||
</div>
|
||||
<#if "" != noticeBoard>
|
||||
<div class="notice">
|
||||
${noticeBoard}
|
||||
</div>
|
||||
</#if>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="nav">
|
||||
<div class="wrapper">
|
||||
<ul>
|
||||
<li>
|
||||
<a rel="nofollow" href="${servePath}/">${indexLabel}</a>
|
||||
</li>
|
||||
<#list pageNavigations as page>
|
||||
<li>
|
||||
<a href="${page.pagePermalink}" target="${page.pageOpenTarget}"><#if page.pageIcon != ''><img class="page-icon" src="${page.pageIcon}"></#if>${page.pageTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
<li>
|
||||
<a href="${servePath}/dynamic.html">${dynamicLabel}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="${servePath}/tags.html">${allTagsLabel}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="${servePath}/archives.html">${archiveLabel}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="${servePath}/links.html">${linkLabel}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a rel="alternate" href="${servePath}/rss.xml">RSS<img src="${staticServePath}/images/feed.png" alt="RSS"/></a>
|
||||
</li>
|
||||
</ul>
|
||||
<form action="${servePath}/search">
|
||||
<input id="search" type="text" name="keyword" />
|
||||
<input type="submit" value="" class="none" />
|
||||
</form>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 5.8 KiB |
|
@ -1,43 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${blogTitle}">
|
||||
<#if metaKeywords??>
|
||||
<meta name="keywords" content="${metaKeywords}"/>
|
||||
</#if>
|
||||
<#if metaDescription??>
|
||||
<meta name="description" content="${metaDescription}"/>
|
||||
</#if>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="main">
|
||||
<div class="wrapper" id="index">
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
297
ease/js/ease.js
|
@ -1,297 +0,0 @@
|
|||
/*
|
||||
* 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/>.
|
||||
*/
|
||||
/**
|
||||
* @fileoverview ease js.
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 1.2.0.1, Dec 20, 2018
|
||||
*/
|
||||
var goTranslate = function () {
|
||||
window.open("http://translate.google.com/translate?sl=auto&tl=auto&u=" + location.href);
|
||||
};
|
||||
|
||||
var getNextPage = function () {
|
||||
var $more = $(".article-next");
|
||||
currentPage += 1;
|
||||
var path = "/articles";
|
||||
if($("#tag").length === 1) {
|
||||
var pathnames = location.pathname.split("/");
|
||||
path = "/articles/tags/" + pathnames[pathnames.length - 1] + "/";
|
||||
} else if ($("#archive").length === 1) {
|
||||
var pathnames = location.pathname.split("/");
|
||||
path = "/articles/archives/" + pathnames[pathnames.length - 2] + "/" + pathnames[pathnames.length - 1] + "/";
|
||||
} else if ($("#author").length === 1) {
|
||||
var pathnames = location.pathname.split("/");
|
||||
path = "/articles/authors/" + pathnames[pathnames.length - 1] + "/";
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: latkeConfig.servePath + path + '?p=' + currentPage,
|
||||
type: "GET",
|
||||
beforeSend: function () {
|
||||
$more.css("background",
|
||||
"url(" + latkeConfig.staticServePath + "/skins/ease/images/ajax-loader.gif) no-repeat scroll center center #fefefe");
|
||||
},
|
||||
success: function(result, textStatus){
|
||||
if (!result.sc) {
|
||||
return;
|
||||
}
|
||||
|
||||
var articlesHTML = "",
|
||||
pagination = result.rslts.pagination;
|
||||
|
||||
// append articles
|
||||
for (var i = 0; i < result.rslts.articles.length; i++) {
|
||||
var article = result.rslts.articles[i],
|
||||
lastClass = "";
|
||||
if (result.rslts.articles.length - 1 === i) {
|
||||
lastClass = " article-last";
|
||||
}
|
||||
|
||||
articlesHTML += '<li class="article' + lastClass + '">' +
|
||||
'<div class="article-title">' +
|
||||
'<h2>' +
|
||||
'<a rel="bookmark" class="ft-gray" href="' + latkeConfig.servePath + article.articlePermalink + '">' +
|
||||
article.articleTitle +
|
||||
'</a>';
|
||||
if (article.hasUpdated) {
|
||||
articlesHTML += '<sup>' + Label.updatedLabel + '</sup>';
|
||||
}
|
||||
|
||||
if (article.articlePutTop) {
|
||||
articlesHTML += '<sup>' + Label.topArticleLabel + '</sup>';
|
||||
}
|
||||
|
||||
articlesHTML += '</h2>' +
|
||||
'<div class="right">' +
|
||||
'<a rel="nofollow" class="ft-gray" href="' + latkeConfig.servePath + article.articlePermalink + '#comments">' +
|
||||
+ article.articleCommentCount + ' ' + Label.commentLabel +
|
||||
'</a> ' +
|
||||
'<a rel="nofollow" class="ft-gray" href="' + latkeConfig.servePath + article.articlePermalink + '">' +
|
||||
article.articleViewCount + ' ' + Label.viewLabel +
|
||||
'</a>' +
|
||||
'</div>' +
|
||||
'<div class="clear"></div>' +
|
||||
'</div>' +
|
||||
'<div class="vditor-reset">' +
|
||||
'<div id="abstract' + article.oId + '">' +
|
||||
article.articleAbstract +
|
||||
'</div>' +
|
||||
'<div id="content' + article.oId + '" class="none"></div>' +
|
||||
'</div>' +
|
||||
'<div class="right ft-gray">';
|
||||
if (article.hasUpdated) {
|
||||
articlesHTML += Util.toDate(article.articleUpdateTime, 'yy-MM-dd HH:mm');
|
||||
} else {
|
||||
articlesHTML += Util.toDate(article.articleCreateTime, 'yy-MM-dd HH:mm');
|
||||
}
|
||||
|
||||
articlesHTML += ' <a href="' + latkeConfig.servePath + '/authors/' + article.authorId + '">' + article.authorName + '</a>' +
|
||||
'</div>' +
|
||||
'<div class="left ft-gray">' +
|
||||
Label.tag1Label + " ";
|
||||
|
||||
var articleTags = article.articleTags.split(",");
|
||||
for (var j = 0; j < articleTags.length; j++) {
|
||||
articlesHTML += '<a rel="tag" href="' + latkeConfig.servePath + '/tags/' + encodeURIComponent(articleTags[j]) + '">' +
|
||||
articleTags[j] + '</a>';
|
||||
|
||||
if (j < articleTags.length - 1) {
|
||||
articlesHTML += ", ";
|
||||
}
|
||||
}
|
||||
|
||||
articlesHTML += '</div>' +
|
||||
'<div class="clear"></div>' +
|
||||
'</li>';
|
||||
}
|
||||
|
||||
$(".article-last").removeClass("article-last");
|
||||
$(".main>.wrapper>ul").append(articlesHTML);
|
||||
|
||||
// 最后一页处理
|
||||
if (pagination.paginationPageCount === currentPage) {
|
||||
$more.remove();
|
||||
} else {
|
||||
$more.css("background", "none");
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
var ease = {
|
||||
$header: $(".header"),
|
||||
headerH: 103,
|
||||
$body: $(".main > .wrapper"),
|
||||
$nav: $(".nav"),
|
||||
getCurrentPage: function () {
|
||||
var $next = $(".article-next");
|
||||
if ($next.length > 0) {
|
||||
window.currentPage = $next.data("page");
|
||||
}
|
||||
},
|
||||
|
||||
setNavCurrent: function () {
|
||||
$(".nav ul a").each(function () {
|
||||
var $this = $(this);
|
||||
if ($this.attr("href") === location.href) {
|
||||
$this.addClass("current");
|
||||
} else if (/\/[0-9]+$/.test(location.pathname)) {
|
||||
$(".nav ul li")[0].className = "current";
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
initCommon: function () {
|
||||
Util.init();
|
||||
Util.setTopBar()
|
||||
Util.replaceSideEm($(".recent-comments-content"));
|
||||
Util.buildTags("tagsSide");
|
||||
},
|
||||
|
||||
initArchives: function () {
|
||||
var $archives = $(".archives");
|
||||
if ($archives.length < 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
$(".footer").css("marginTop", "30px");
|
||||
var years = [],
|
||||
$archiveList = $archives.find("span").each(function () {
|
||||
var year = $(this).data("year"),
|
||||
tag = true;
|
||||
for (var i = 0; i < years.length; i++) {
|
||||
if (year === years[i]) {
|
||||
tag = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (tag) {
|
||||
years.push(year);
|
||||
}
|
||||
});
|
||||
|
||||
var yearsHTML = "";
|
||||
for (var j = 0; j < years.length; j++) {
|
||||
var monthsHTML = "";
|
||||
for (var l = 0; l < $archiveList.length; l++) {
|
||||
var $month = $($archiveList[l]);
|
||||
if ($month.data("year") === years[j]) {
|
||||
monthsHTML += $month.html();
|
||||
}
|
||||
}
|
||||
|
||||
yearsHTML += "<div><h3 class='ft-gray'>" + years[j] + "</h3>" + monthsHTML + "</div>";
|
||||
}
|
||||
|
||||
$archives.html(yearsHTML);
|
||||
|
||||
// position
|
||||
var $items = $(".archives>div"),
|
||||
line = 0,
|
||||
top = 0,
|
||||
heights = [];
|
||||
|
||||
for (var m = 0; m < $items.length; m++) {
|
||||
for (var n = 0; n < 3; n++) {
|
||||
if (m >= $items.length) {
|
||||
break;
|
||||
}
|
||||
|
||||
$items[m].style.left = (n * 310) + "px";
|
||||
|
||||
if (line > 0) {
|
||||
if ($items[m - 3].style.top !== "") {
|
||||
top = parseInt($items[m - 3].style.top);
|
||||
}
|
||||
$items[m].style.top = $($items[m - 3]).height() + 60 + top + "px";
|
||||
|
||||
heights[n] = parseInt($items[m].style.top) + $($items[m]).height() + 60;
|
||||
} else {
|
||||
heights[n] = $($items[m]).height() + 60;
|
||||
}
|
||||
|
||||
if (n < 2) {
|
||||
m += 1;
|
||||
}
|
||||
}
|
||||
line += 1;
|
||||
}
|
||||
|
||||
// archive height
|
||||
$archives.height(heights.sort()[heights.length - 1]);
|
||||
},
|
||||
|
||||
scrollEvent: function () {
|
||||
var _it = this;
|
||||
$(window).scroll(function () {
|
||||
var y = $(window).scrollTop();
|
||||
|
||||
// go top icon show or hide
|
||||
if (y > _it.headerH) {
|
||||
var bodyH = $(window).height();
|
||||
var top = y + bodyH - 21;
|
||||
if ($("body").height() - 58 <= y + bodyH) {
|
||||
top = $(".footer").offset().top - 21;
|
||||
}
|
||||
$("#goTop").fadeIn("slow").css("top", top);
|
||||
} else {
|
||||
$("#goTop").hide();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
setDynamic: function () {
|
||||
var $dynamic = $(".dynamic");
|
||||
if ($(".dynamic").length < 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
var $categories = $dynamic.find(".side-categories"),
|
||||
$tags = $dynamic.find(".side-tags"),
|
||||
$mostComment = $dynamic.find(".side-most-comment"),
|
||||
$mostView = $dynamic.find(".side-most-view");
|
||||
|
||||
if ($categories.height() > $tags.height()) {
|
||||
$tags.height($categories.height());
|
||||
} else {
|
||||
$categories.height($tags.height());
|
||||
}
|
||||
|
||||
if ($mostComment.height() > $mostView.height()) {
|
||||
$mostView.height($mostComment.height());
|
||||
} else {
|
||||
$mostComment.height($mostView.height());
|
||||
}
|
||||
|
||||
// emotions
|
||||
$(".vditor-reset").each(function () {
|
||||
this.innerHTML = Util.replaceEmString($(this).html());
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
(function () {
|
||||
ease.getCurrentPage();
|
||||
ease.initCommon();
|
||||
ease.scrollEvent();
|
||||
ease.setNavCurrent();
|
||||
|
||||
ease.initArchives();
|
||||
ease.setDynamic();
|
||||
})();
|
|
@ -1 +0,0 @@
|
|||
var goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)},getNextPage=function(){var c=$(".article-next");currentPage+=1;var e="/articles";if(1===$("#tag").length)e="/articles/tags/"+(t=location.pathname.split("/"))[t.length-1]+"/";else if(1===$("#archive").length){e="/articles/archives/"+(t=location.pathname.split("/"))[t.length-2]+"/"+t[t.length-1]+"/"}else if(1===$("#author").length){var t;e="/articles/authors/"+(t=location.pathname.split("/"))[t.length-1]+"/"}$.ajax({url:latkeConfig.servePath+e+"?p="+currentPage,type:"GET",beforeSend:function(){c.css("background","url("+latkeConfig.staticServePath+"/skins/ease/images/ajax-loader.gif) no-repeat scroll center center #fefefe")},success:function(e,t){if(e.sc){for(var a="",i=e.rslts.pagination,r=0;r<e.rslts.articles.length;r++){var n=e.rslts.articles[r],l="";e.rslts.articles.length-1===r&&(l=" article-last"),a+='<li class="article'+l+'"><div class="article-title"><h2><a rel="bookmark" class="ft-gray" href="'+latkeConfig.servePath+n.articlePermalink+'">'+n.articleTitle+"</a>",n.hasUpdated&&(a+="<sup>"+Label.updatedLabel+"</sup>"),n.articlePutTop&&(a+="<sup>"+Label.topArticleLabel+"</sup>"),a+='</h2><div class="right"><a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+n.articlePermalink+'#comments">'+ +n.articleCommentCount+" "+Label.commentLabel+'</a> <a rel="nofollow" class="ft-gray" href="'+latkeConfig.servePath+n.articlePermalink+'">'+n.articleViewCount+" "+Label.viewLabel+'</a></div><div class="clear"></div></div><div class="vditor-reset"><div id="abstract'+n.oId+'">'+n.articleAbstract+'</div><div id="content'+n.oId+'" class="none"></div></div><div class="right ft-gray">',n.hasUpdated?a+=Util.toDate(n.articleUpdateTime,"yy-MM-dd HH:mm"):a+=Util.toDate(n.articleCreateTime,"yy-MM-dd HH:mm"),a+=' <a href="'+latkeConfig.servePath+"/authors/"+n.authorId+'">'+n.authorName+'</a></div><div class="left ft-gray">'+Label.tag1Label+" ";for(var s=n.articleTags.split(","),o=0;o<s.length;o++)a+='<a rel="tag" href="'+latkeConfig.servePath+"/tags/"+encodeURIComponent(s[o])+'">'+s[o]+"</a>",o<s.length-1&&(a+=", ");a+='</div><div class="clear"></div></li>'}$(".article-last").removeClass("article-last"),$(".main>.wrapper>ul").append(a),i.paginationPageCount===currentPage?c.remove():c.css("background","none")}}})},ease={$header:$(".header"),headerH:103,$body:$(".main > .wrapper"),$nav:$(".nav"),getCurrentPage:function(){var e=$(".article-next");0<e.length&&(window.currentPage=e.data("page"))},setNavCurrent:function(){$(".nav ul a").each(function(){var e=$(this);e.attr("href")===location.href?e.addClass("current"):/\/[0-9]+$/.test(location.pathname)&&($(".nav ul li")[0].className="current")})},initCommon:function(){Util.init(),Util.setTopBar(),Util.replaceSideEm($(".recent-comments-content")),Util.buildTags("tagsSide")},initArchives:function(){var e=$(".archives");if(!(e.length<1)){$(".footer").css("marginTop","30px");for(var i=[],t=e.find("span").each(function(){for(var e=$(this).data("year"),t=!0,a=0;a<i.length;a++)if(e===i[a]){t=!1;break}t&&i.push(e)}),a="",r=0;r<i.length;r++){for(var n="",l=0;l<t.length;l++){var s=$(t[l]);s.data("year")===i[r]&&(n+=s.html())}a+="<div><h3 class='ft-gray'>"+i[r]+"</h3>"+n+"</div>"}e.html(a);for(var o=$(".archives>div"),c=0,h=0,g=[],d=0;d<o.length;d++){for(var f=0;f<3&&!(d>=o.length);f++)o[d].style.left=310*f+"px",g[f]=0<c?(""!==o[d-3].style.top&&(h=parseInt(o[d-3].style.top)),o[d].style.top=$(o[d-3]).height()+60+h+"px",parseInt(o[d].style.top)+$(o[d]).height()+60):$(o[d]).height()+60,f<2&&(d+=1);c+=1}e.height(g.sort()[g.length-1])}},scrollEvent:function(){var i=this;$(window).scroll(function(){var e=$(window).scrollTop();if(e>i.headerH){var t=$(window).height(),a=e+t-21;$("body").height()-58<=e+t&&(a=$(".footer").offset().top-21),$("#goTop").fadeIn("slow").css("top",a)}else $("#goTop").hide()})},setDynamic:function(){var e=$(".dynamic");if(!($(".dynamic").length<1)){var t=e.find(".side-categories"),a=e.find(".side-tags"),i=e.find(".side-most-comment"),r=e.find(".side-most-view");t.height()>a.height()?a.height(t.height()):t.height(a.height()),i.height()>r.height()?r.height(i.height()):i.height(r.height()),$(".vditor-reset").each(function(){this.innerHTML=Util.replaceEmString($(this).html())})}}};ease.getCurrentPage(),ease.initCommon(),ease.scrollEvent(),ease.setNavCurrent(),ease.initArchives(),ease.setDynamic();
|
|
@ -1,38 +0,0 @@
|
|||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Language configurations(en_US) for skin "ease".
|
||||
# Version: 2.0.0.0, Feb 23, 2019
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
moreLabel=More
|
||||
contentLabel=More...
|
||||
allTagsLabel=Tags
|
||||
indexLabel=Home
|
||||
archive1Label=Archive:
|
||||
tag1Label=Tags:
|
||||
returnTo1Label=Return:
|
||||
replyLabel=Reply
|
||||
commentNameLabel=Name
|
||||
commentURLLabel=URL
|
||||
nameTooLongLabel=Sorry, your username must be between 2 and 20 characters long!
|
||||
commentContentCannotEmptyLabel=Sorry, your content must be between 2 and 500 characters long!
|
||||
loadingLabel=loading....
|
||||
externalRelevantArticlesLabel=External Relevant Articles:
|
||||
b3logLabel=<span style="color: orange;">B</span><span style="color: blue;"><sup>3</sup></span><span style="color: green;">L</span><span style="color: red;">O</span><span style="color: blue;">G</span>
|
|
@ -1,29 +0,0 @@
|
|||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Language configurations(zh_CN) for skin "ease".
|
||||
# Version: 2.0.0.0, Feb 23, 2019
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
moreLabel=\u66F4\u591A
|
||||
contentLabel=\u5168\u6587
|
||||
replyLabel=\u56DE\u590D
|
||||
commentNameLabel=\u59D3\u540D
|
||||
commentURLLabel=URL
|
||||
b3logLabel=<span style="color: orange;">B</span><span style="color: blue;"><sup>3</sup></span><span style="color: green;">L</span><span style="color: red;">O</span><span style="color: blue;">G</span>
|
|
@ -1,51 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${linkLabel} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${linkLabel}"/>
|
||||
<meta name="description" content="${metaDescription},${linkLabel}"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="main">
|
||||
<div class="wrapper">
|
||||
<#if 0 != links?size>
|
||||
<ul class="other-main links">
|
||||
<#list links as link>
|
||||
<li>
|
||||
<a rel="friend" href="${link.linkAddress}" alt="${link.linkTitle}" target="_blank">
|
||||
<img alt="${link.linkTitle}"
|
||||
src="${faviconAPI}<#list link.linkAddress?split('/') as x><#if x_index=2>${x}<#break></#if></#list>" width="16" height="16" /></a>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkDescription}" target="_blank">${link.linkTitle}
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
|
@ -1,35 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#macro comments commentList article>
|
||||
<div id="comments">
|
||||
<#list commentList as comment>
|
||||
<#include "common-comment.ftl"/>
|
||||
</#list>
|
||||
</div>
|
||||
<#if article.commentable>
|
||||
<div class="form">
|
||||
<textarea rows="3" placeholder="${postCommentsLabel}" id="comment"></textarea>
|
||||
</div>
|
||||
<#if externalRelevantArticlesDisplayCount?? && 0 != externalRelevantArticlesDisplayCount>
|
||||
<div id="externalRelevantArticles" class="article-relative"></div>
|
||||
</#if>
|
||||
<span class="clear"></span>
|
||||
</#if>
|
||||
</#macro>
|
|
@ -1,36 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#macro head title>
|
||||
<meta charset="utf-8" />
|
||||
<title>${title}</title>
|
||||
<#nested>
|
||||
<meta name="author" content="${blogTitle?html}" />
|
||||
<meta name="generator" content="Solo" />
|
||||
<meta name="copyright" content="B3log" />
|
||||
<meta name="owner" content="B3log Team" />
|
||||
<meta name="revised" content="${blogTitle?html}, ${year}" />
|
||||
<meta http-equiv="Window-target" content="_top" />
|
||||
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" charset="utf-8" />
|
||||
<link href="${servePath}/rss.xml" title="RSS" type="application/rss+xml" rel="alternate" />
|
||||
<link rel="icon" type="image/png" href="${faviconURL}" />
|
||||
<link rel="manifest" href="${servePath}/manifest.json">
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="${title}" href="/opensearch.xml">
|
||||
${htmlHead}
|
||||
</#macro>
|
|
@ -1,45 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<#include "macro-comments.ftl">
|
||||
<#include "../../common-template/macro-comment_script.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${page.pageTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${page.pageTitle}" />
|
||||
<meta name="description" content="${metaDescription}" />
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="main">
|
||||
<div class="wrapper">
|
||||
<div class="vditor-reset article">
|
||||
${page.pageContent}
|
||||
</div>
|
||||
<@comments commentList=pageComments article=page></@comments>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
<@comment_script oId=page.oId commentable=page.commentable></@comment_script>
|
||||
</body>
|
||||
</html>
|
BIN
ease/preview.png
Before Width: | Height: | Size: 6.4 KiB |
|
@ -1,27 +0,0 @@
|
|||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: ease skin.
|
||||
# Version: 1.0.0.9, Mar 24, 2015
|
||||
# Author: Liyuan Li
|
||||
# Author: Liang Ding
|
||||
#
|
||||
|
||||
name=ease
|
||||
memo=\u56de\u5f52\u606c\u9759
|
|
@ -1,46 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${tag.tagTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${tag.tagTitle}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="main">
|
||||
<div class="wrapper">
|
||||
<h2>
|
||||
<a id="tag" rel="alternate" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">
|
||||
${tag1Label}
|
||||
${tag.tagTitle}
|
||||
(${tag.tagPublishedRefCount})
|
||||
</a>
|
||||
</h2>
|
||||
<#include "article-list.ftl">
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
|
@ -1,53 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${allTagsLabel} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${allTagsLabel}"/>
|
||||
<meta name="description" content="<#list tags as tag>${tag.tagTitle}<#if tag_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="main">
|
||||
<div class="wrapper">
|
||||
<ul id="tags" class="other-main">
|
||||
<#list tags as tag>
|
||||
<li>
|
||||
<a rel="tag" data-count="${tag.tagPublishedRefCount}"
|
||||
href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}" title="${tag.tagTitle}">
|
||||
<span>${tag.tagTitle}</span>
|
||||
(<b>${tag.tagPublishedRefCount}</b>)
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
<script type="text/javascript">
|
||||
Util.buildTags();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -938,4 +938,192 @@ pre.prettyprint {
|
|||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* end dynamic */
|
||||
/* end dynamic */
|
||||
|
||||
@media (max-width: 860px) and (min-width: 460px) {
|
||||
.wrapper {
|
||||
width: 720px;
|
||||
}
|
||||
|
||||
.main {
|
||||
width: 460px;
|
||||
}
|
||||
|
||||
.form {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.form input {
|
||||
width: 395px;
|
||||
}
|
||||
|
||||
.form textarea {
|
||||
width: 434px;
|
||||
}
|
||||
|
||||
#comments .vditor-reset {
|
||||
width: 340px;
|
||||
}
|
||||
|
||||
#dynamic #comments .vditor-reset {
|
||||
width: 283px;
|
||||
}
|
||||
|
||||
.most-comment,
|
||||
.most-view {
|
||||
width: 300px;
|
||||
margin-bottom: 20px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.most-comment .text,
|
||||
.most-view .text {
|
||||
width: 195px;
|
||||
}
|
||||
|
||||
.tags-tile,
|
||||
.links-tile,
|
||||
.archives-tile {
|
||||
width: 670px;
|
||||
}
|
||||
|
||||
.tags-tile .text,
|
||||
.links-tile .text,
|
||||
.archives-tile .text {
|
||||
width: 580px;
|
||||
}
|
||||
|
||||
.links-tile,
|
||||
.tags-tile {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 460px) {
|
||||
.side,
|
||||
.top-info,
|
||||
.header > .fn-left,
|
||||
.comment-main {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.wrapper,
|
||||
.article-list > div,
|
||||
.main,
|
||||
.side {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.sub-nav > .pagination,
|
||||
.footer,
|
||||
#comments > div > img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#search {
|
||||
width: 237px;
|
||||
}
|
||||
|
||||
|
||||
.side-tile {
|
||||
width: 94px;
|
||||
}
|
||||
|
||||
.online-count,
|
||||
.user,
|
||||
.notice-board,
|
||||
.share,
|
||||
.article-relative {
|
||||
width: 249px;
|
||||
}
|
||||
|
||||
.main .pagination,
|
||||
.main > .vditor-reset,
|
||||
.comment-disabled,
|
||||
#comments > div {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.side > div,
|
||||
#comments .vditor-reset {
|
||||
position: static !important;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.share div.text {
|
||||
left: 173px;
|
||||
}
|
||||
|
||||
.form {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.form input {
|
||||
width: 240px;
|
||||
}
|
||||
|
||||
.form textarea {
|
||||
width: 285px;
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
#dynamic .main {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.tags-tile {
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.article-title {
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
.archives {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.article-info > a {
|
||||
padding: 3px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#dynamic #comments {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.tags-tile .title,
|
||||
.links-tile .title,
|
||||
.most-comment .title,
|
||||
.most-view .title {
|
||||
float: right;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
margin: 20px 0 0 40px;
|
||||
}
|
||||
|
||||
.most-comment,
|
||||
.most-view {
|
||||
width: 249px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.most-comment .text,
|
||||
.most-view .text {
|
||||
margin-right: 0;
|
||||
width: 274px;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.tags-tile,
|
||||
.links-tile {
|
||||
width: 249px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.tags-tile .text,
|
||||
.links-tile .text {
|
||||
width: 249px;
|
||||
}
|
||||
}
|
|
@ -1,210 +0,0 @@
|
|||
/**
|
||||
* 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/>.
|
||||
*/
|
||||
/*
|
||||
* skin metro-hot responsive style
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 1.0.0.6, Sep 30, 2013
|
||||
*/
|
||||
@media (max-width: 860px) and (min-width: 460px) {
|
||||
.wrapper {
|
||||
width: 720px;
|
||||
}
|
||||
|
||||
.main {
|
||||
width: 460px;
|
||||
}
|
||||
|
||||
.form {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.form input {
|
||||
width: 395px;
|
||||
}
|
||||
|
||||
.form textarea {
|
||||
width: 434px;
|
||||
}
|
||||
|
||||
#comments .vditor-reset {
|
||||
width: 340px;
|
||||
}
|
||||
|
||||
#dynamic #comments .vditor-reset {
|
||||
width: 283px;
|
||||
}
|
||||
|
||||
.most-comment,
|
||||
.most-view {
|
||||
width: 300px;
|
||||
margin-bottom: 20px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.most-comment .text,
|
||||
.most-view .text {
|
||||
width: 195px;
|
||||
}
|
||||
|
||||
.tags-tile,
|
||||
.links-tile,
|
||||
.archives-tile {
|
||||
width: 670px;
|
||||
}
|
||||
|
||||
.tags-tile .text,
|
||||
.links-tile .text,
|
||||
.archives-tile .text {
|
||||
width: 580px;
|
||||
}
|
||||
|
||||
.links-tile,
|
||||
.tags-tile {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 460px) {
|
||||
.side,
|
||||
.top-info,
|
||||
.header > .fn-left,
|
||||
.comment-main {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.wrapper,
|
||||
.article-list > div,
|
||||
.main,
|
||||
.side {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.sub-nav > .pagination,
|
||||
.footer,
|
||||
#comments > div > img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#search {
|
||||
width: 237px;
|
||||
}
|
||||
|
||||
|
||||
.side-tile {
|
||||
width: 94px;
|
||||
}
|
||||
|
||||
.online-count,
|
||||
.user,
|
||||
.notice-board,
|
||||
.share,
|
||||
.article-relative {
|
||||
width: 249px;
|
||||
}
|
||||
|
||||
.main .pagination,
|
||||
.main > .vditor-reset,
|
||||
.comment-disabled,
|
||||
#comments > div {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.side > div,
|
||||
#comments .vditor-reset {
|
||||
position: static !important;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.share div.text {
|
||||
left: 173px;
|
||||
}
|
||||
|
||||
.form {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.form input {
|
||||
width: 240px;
|
||||
}
|
||||
|
||||
.form textarea {
|
||||
width: 285px;
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
#dynamic .main {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.tags-tile {
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.article-title {
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
.archives {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.article-info > a {
|
||||
padding: 3px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#dynamic #comments {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.tags-tile .title,
|
||||
.links-tile .title,
|
||||
.most-comment .title,
|
||||
.most-view .title {
|
||||
float: right;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
margin: 20px 0 0 40px;
|
||||
}
|
||||
|
||||
.most-comment,
|
||||
.most-view {
|
||||
width: 249px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.most-comment .text,
|
||||
.most-view .text {
|
||||
margin-right: 0;
|
||||
width: 274px;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.tags-tile,
|
||||
.links-tile {
|
||||
width: 249px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.tags-tile .text,
|
||||
.links-tile .text {
|
||||
width: 249px;
|
||||
}
|
||||
}
|
|
@ -1,45 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount}) - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${archiveDate.archiveDateYear}${archiveDate.archiveDateMonth}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body class="classic-wptouch-bg ">
|
||||
<#include "header.ftl">
|
||||
<div class="content single">
|
||||
<div class="post">
|
||||
<h2 class="marginLeft12 marginBottom12">${archive1Label}
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount})
|
||||
<#else>
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel} (${archiveDate.archiveDatePublishedArticleCount})
|
||||
</#if>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
|
@ -1,86 +0,0 @@
|
|||
<#--
|
||||
|
||||
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 class="content">
|
||||
<div class="result-text"><!--TODO wptouch_core_body_result_text()--></div>
|
||||
<#list articles as article>
|
||||
<div class="post" id="post-${article.oId}">
|
||||
<#if 0 lt article.articleCommentCount>
|
||||
<div class="comment-bubble">${article.articleCommentCount}</div>
|
||||
</#if>
|
||||
<script type="text/javascript">
|
||||
$wpt(document).ready(function(){
|
||||
$wpt("a#arrow-${article.oId}").bind( touchStartOrClick, function(e) {
|
||||
$wpt(this).toggleClass("post-arrow-down");
|
||||
$wpt('#entry-${article.oId}').wptouchFadeToggle(500);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<a class="post-arrow" id="arrow-${article.oId}" href="javascript: return false;"></a>
|
||||
<div class="calendar">
|
||||
<div class="cal-month month-${article.articleUpdateDate?string("MM")}">${article.articleUpdateDate?string("MM")}</div>
|
||||
<div class="cal-date">${article.articleUpdateDate?string("dd")}</div>
|
||||
</div>
|
||||
<a rel="bookmark" class="h2" href="${servePath}${article.articlePermalink}">${article.articleTitle}</a>
|
||||
<div class="post-author">
|
||||
<span class="lead">By</span> ${article.authorName}<br />
|
||||
<span class="lead">${tags1Label}</span>
|
||||
<#list article.articleTags?split(",") as articleTag>
|
||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">
|
||||
${articleTag}</a><#if articleTag_has_next>,</#if>
|
||||
</#list>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
<div id="entry-${article.oId}" style="display:none" class="mainentry left-justified">
|
||||
${article.articleAbstract}
|
||||
<a class="read-more" href="${servePath}${article.articlePermalink}">${readThisPost}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</#list>
|
||||
<!--TODO ajax load page
|
||||
<div id="call${paginationCurrentPageNum}" class="ajax-load-more">
|
||||
<div id="spinner${paginationCurrentPageNum}" class="spin" style="display:none"></div>
|
||||
<a class="ajax" href="javascript:void(0)" onclick="$wpt('#spinner${paginationCurrentPageNum}').fadeIn(200); $wpt('#ajaxentries${paginationCurrentPageNum}').load('${path}?p=${paginationPreviousPageNum}', {}, function(){ $wpt('#call${paginationCurrentPageNum}').fadeOut();});">
|
||||
Load more entries...
|
||||
</a>
|
||||
</div>
|
||||
<div id="ajaxentries${paginationCurrentPageNum}"></div>
|
||||
-->
|
||||
<#if 0 != paginationPageCount>
|
||||
<div class="ajax-load-more">
|
||||
<#if 1 != paginationPageNums?first>
|
||||
<a href="${servePath}${path}">${firstPageLabel}</a>
|
||||
<a id="previousPage" href="${servePath}${path}?p=${paginationPreviousPageNum}">${previousPageLabel}</a>
|
||||
</#if>
|
||||
<#list paginationPageNums as paginationPageNum>
|
||||
<#if paginationPageNum == paginationCurrentPageNum>
|
||||
<a href="${servePath}${path}?p=${paginationPageNum}" class="selected">${paginationPageNum}</a>
|
||||
<#else>
|
||||
<a href="${servePath}${path}?p=${paginationPageNum}">${paginationPageNum}</a>
|
||||
</#if>
|
||||
</#list>
|
||||
<#if paginationPageNums?last != paginationPageCount>
|
||||
<a id="nextPage" href="${servePath}${path}?p=${paginationNextPageNum}">${nextPagePabel}</a>
|
||||
<a href="${servePath}${path}?p=${paginationPageCount}">${lastPageLabel}</a>
|
||||
</#if>
|
||||
${sumLabel} ${paginationPageCount} ${pageLabel}
|
||||
</div>
|
||||
</#if>
|
||||
</div>
|
|
@ -1,124 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<#include "macro-comments.ftl">
|
||||
<#include "../../common-template/macro-comment_script.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${article.articleTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${article.articleTags}" />
|
||||
<meta name="description" content="${article.articleAbstract?html}" />
|
||||
</@head>
|
||||
<#if previousArticlePermalink??>
|
||||
<link rel="prev" title="${previousArticleTitle}" href="${servePath}${previousArticlePermalink}">
|
||||
</#if>
|
||||
<#if nextArticlePermalink??>
|
||||
<link rel="next" title="${nextArticleTitle}" href="${servePath}${nextArticlePermalink}">
|
||||
</#if>
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:locale" content="zh_CN"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:title" content="${article.articleTitle}"/>
|
||||
<meta property="og:description" content="${article.articleAbstract?html}"/>
|
||||
<meta property="og:image" content="${article.authorThumbnailURL}"/>
|
||||
<meta property="og:url" content="${servePath}${article.articlePermalink}"/>
|
||||
<meta property="og:site_name" content="Solo"/>
|
||||
<!-- Twitter Card -->
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:description" content="${article.articleAbstract?html}"/>
|
||||
<meta name="twitter:title" content="${article.articleTitle}"/>
|
||||
<meta name="twitter:image" content="${article.authorThumbnailURL}"/>
|
||||
<meta name="twitter:url" content="${servePath}${article.articlePermalink}"/>
|
||||
<meta name="twitter:site" content="@DL88250"/>
|
||||
<meta name="twitter:creator" content="@DL88250"/>
|
||||
</head>
|
||||
<body class="classic-wptouch-bg">
|
||||
<#include "header.ftl">
|
||||
<div class="content single">
|
||||
<div class="post">
|
||||
<a class="sh2" href="${servePath}${article.articlePermalink}" rel="bookmark">${article.articleTitle}</a>
|
||||
<div class="single-post-meta-top">
|
||||
<#if article.hasUpdated>
|
||||
${article.articleUpdateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
<#else>
|
||||
${article.articleCreateDate?string("yyyy-MM-dd HH:mm:ss")}
|
||||
</#if>
|
||||
› ${article.authorName}<br />
|
||||
<a rel="nofollow" href="#comments">${skipToComment}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
<div class="post vditor-reset" id="post-${article.oId}">
|
||||
<div id="singlentry" class="left-justified vditor-reset">
|
||||
${article.articleContent}
|
||||
<#if "" != article.articleSign.signHTML?trim>
|
||||
<div class=""><!--TODO sign class-->
|
||||
${article.articleSign.signHTML}
|
||||
</div>
|
||||
</#if>
|
||||
</div>
|
||||
<!-- Categories and Tags post footer -->
|
||||
<div class="single-post-meta-bottom">
|
||||
${tags1Label}
|
||||
<#list article.articleTags?split(",") as articleTag>
|
||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}" rel="tag">${articleTag}</a><#if articleTag_has_next>,</#if>
|
||||
</#list>
|
||||
</div>
|
||||
<ul id="post-options">
|
||||
<#if nextArticlePermalink??>
|
||||
<li><a href="${servePath}${nextArticlePermalink}" id="oprev"></a></li>
|
||||
</#if>
|
||||
<li><a href="mailto:?subject=${article.authorName} - ${article.articleTitle}&body=Check out this post: ${servePath}${article.articlePermalink}" id="omail"></a></li>
|
||||
<li><a href="javascript:void(0)" onclick="window.open('http://service.weibo.com/share/share.php?url=${servePath}${article.articlePermalink}&title=B3LOG%20-%20${article.articleTitle}', '_blank');" id="otweet"></a></li>
|
||||
<li><a href="javascript:void(0)" id="obook"></a></li>
|
||||
<#if previousArticlePermalink??>
|
||||
<li><a href="${servePath}${previousArticlePermalink}" id="onext"></a></li>
|
||||
</#if>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="bookmark-box" style="display:none">
|
||||
<ul>
|
||||
<li><a href="http://del.icio.us/post?url=${servePath}/?p=12&title=${article.articleTitle}" target="_blank"><img src="${staticServePath}/skins/${skinDirName}/themes/core/core-images/bookmarks/delicious.jpg" alt="" /> Del.icio.us</a></li>
|
||||
<li><a href="http://digg.com/submit?phase=2&url=${servePath}/?p=12&title=${article.articleTitle}" target="_blank"><img src="${staticServePath}/skins/${skinDirName}/themes/core/core-images/bookmarks/digg.jpg" alt="" /> Digg</a></li>
|
||||
<li><a href="http://technorati.com/faves?add=${servePath}/?p=12" target="_blank"><img src="${staticServePath}/skins/${skinDirName}/themes/core/core-images/bookmarks/technorati.jpg" alt="" /> Technorati</a></li>
|
||||
<li><a href="http://ma.gnolia.com/bookmarklet/add?url=${servePath}/?p=12&title=${article.articleTitle}" target="_blank"><img src="${staticServePath}/skins/${skinDirName}/themes/core/core-images/bookmarks/magnolia.jpg" alt="" /> Magnolia</a></li>
|
||||
<li><a href="http://www.newsvine.com/_wine/save?popoff=0&u=${servePath}/?p=12&h=${article.articleTitle}" target="_blank"><img src="${staticServePath}/skins/${skinDirName}/themes/core/core-images/bookmarks/newsvine.jpg" target="_blank"> Newsvine</a></li>
|
||||
<li class="noborder"><a href="http://reddit.com/submit?url=${servePath}/?p=12&title=${article.articleTitle}" target="_blank"><img src="${staticServePath}/skins/${skinDirName}/themes/core/core-images/bookmarks/reddit.jpg" alt="" /> Reddit</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="externalRelevantArticles" class="post"></div>
|
||||
<@comments commentList=articleComments article=article></@comments>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
<@comment_script oId=article.oId commentable=article.commentable>
|
||||
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
|
||||
<#if 0 != randomArticlesDisplayCount>
|
||||
page.loadRandomArticles();
|
||||
</#if>
|
||||
<#if 0 != relevantArticlesDisplayCount>
|
||||
page.loadRelevantArticles('${article.oId}', '<h4>${relevantArticles1Label}</h4>');
|
||||
</#if>
|
||||
<#if 0 != externalRelevantArticlesDisplayCount>
|
||||
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>");
|
||||
</#if>
|
||||
</@comment_script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,41 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${authorName} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${authorName}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body class="classic-wptouch-bg ">
|
||||
<#include "header.ftl">
|
||||
<div class="content single">
|
||||
<div class="post">
|
||||
<h2 >
|
||||
${author1Label}${authorName}
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
|
@ -1,43 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${category.categoryTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${category.categoryTitle}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body class="classic-wptouch-bg ">
|
||||
<#include "header.ftl">
|
||||
<div class="content single">
|
||||
<div class="post">
|
||||
<h2 >${categoryLabel}
|
||||
<a rel="alternate" href="${servePath}/category/${category.categoryURI}">
|
||||
${category.categoryTitle}
|
||||
(${category.categoryTagCnt})</a>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
|
@ -1,47 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<li id="${comment.oId}">
|
||||
<div class="comwrap">
|
||||
<div class="comtop"><!--TODO comment->comment_approved == '0') : comtop preview;-->
|
||||
<img alt='${comment.commentName}' src='${comment.commentThumbnailURL}' class='avatar avatar-64 photo' height='64' width='64' />
|
||||
<div class="com-author">
|
||||
<#if "http://" == comment.commentURL>
|
||||
<a>${comment.commentName}</a>
|
||||
<#else>
|
||||
<a href='${comment.commentURL}' rel='external nofollow' target="_blank" class='url'>${comment.commentName}</a>
|
||||
</#if>
|
||||
<#if comment.isReply>
|
||||
@
|
||||
<a href="${servePath}${article.permalink}#${comment.commentOriginalCommentId}">${comment.commentOriginalCommentName}</a>
|
||||
</#if>
|
||||
</div>
|
||||
<#if article.commentable>
|
||||
<div class="comdater">
|
||||
<!--<span>TODO wptouch_moderate_comment_link(get_comment_ID())</span>-->
|
||||
${comment.commentDate2?string("yyyy-MM-dd HH:mm:ss")}
|
||||
<a rel="nofollow" href="javascript:page.toggleEditor('${comment.oId}', '${comment.commentName}');">${replyLabel}</a>
|
||||
</div>
|
||||
</#if>
|
||||
</div><!--end comtop-->
|
||||
<div class="combody vditor-reset">
|
||||
<p>${comment.commentContent}</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
|
@ -1,25 +0,0 @@
|
|||
/**
|
||||
* 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/>.
|
||||
*/
|
||||
/*
|
||||
* skin style
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 1.0.0.0, Mar 16, 2019
|
||||
*/
|
||||
|
||||
@import "vditor/src/assets/scss/classic";
|
|
@ -1,65 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<!-- Here we're establishing whether the page was loaded via Ajax or not, for dynamic purposes. If it's ajax, we're not bringing in footer.php -->
|
||||
<div id="footer">
|
||||
<center>
|
||||
<div id="wptouch-switch-link">
|
||||
<script type="text/javascript">function switch_delayer() { location.reload();}</script>${mobileLabel} <a id="switch-link" onclick="wptouch_switch_confirmation('normal');" href="javascript:void(0)"></a> </div>
|
||||
</center>
|
||||
<p><span style="color: gray;">© ${year}</span> - <a href="${servePath}">${blogTitle}</a>${footerContent}</p>
|
||||
<p>Powered by <a href="https://b3log.org" target="_blank">B3log 开源</a> • <a href="https://solo.b3log.org" target="_blank">Solo</a> ${version},
|
||||
Theme <a rel="friend" href="https://github.com/b3log/solo-skins" target="_blank">${skinDirName}</a>
|
||||
by <a rel="friend" href="http://vanessa.b3log.org" target="_blank">Vanessa</a></p>
|
||||
</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}",
|
||||
"isLoggedIn": "${isLoggedIn?string}",
|
||||
"staticServePath": "${staticServePath}"
|
||||
};
|
||||
|
||||
var Label = {
|
||||
"markedAvailable": ${markedAvailable?c},
|
||||
"hljsStyle": "atom-one-light",
|
||||
"langLabel": "${langLabel}",
|
||||
"skinDirName": "${skinDirName}"
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
Util.init();
|
||||
Util.setTopBar()
|
||||
|
||||
var toggleArchive = function (it) {
|
||||
var $it = $(it);
|
||||
$it.next().slideToggle(260, function () {
|
||||
var h4Obj = $it.find("h4");
|
||||
if (this.style.display === "none") {
|
||||
h4Obj.html("${archiveLabel} +");
|
||||
} else {
|
||||
h4Obj.html("${archiveLabel} -");
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
${plugins}
|
|
@ -1,141 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<!--TODO i18n-->
|
||||
<!-- New noscript check, we need js on now folks -->
|
||||
<noscript>
|
||||
<div id="noscript-wrap">
|
||||
<div id="noscript">
|
||||
<h2>Notice</h2>
|
||||
<p>JavaScript for Mobile Safari is currently turned off.</p>
|
||||
<p>Turn it on in <em>Settings › Safari</em><br /> to view this website.</p>
|
||||
</div>
|
||||
</div>
|
||||
</noscript>
|
||||
<!-- Prowl: if DM is sent, let's tell the user what happened -->
|
||||
<!-- #start The Search Overlay -->
|
||||
<#--
|
||||
<div id="wptouch-search">
|
||||
<div id="wptouch-search-inner">
|
||||
<form target="_blank" id="searchform" action="http://zhannei.baidu.com/cse/site">
|
||||
<input id="search" placeholder="Search..." type="text" name="q" />
|
||||
<input type="submit" id="search-submit" value="" />
|
||||
<input type="hidden" name="cc" value="${serverHost}">
|
||||
<a href="javascript:void(0)"><img class="head-close" src="${staticServePath}/skins/${skinDirName}/themes/core/core-images/head-close.png" alt="close" /></a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
<div id="wptouch-menu" class="dropper">
|
||||
<div id="wptouch-menu-inner">
|
||||
<div id="menu-head">
|
||||
<div id="tabnav">
|
||||
<a href="#head-pages"><img src="${staticServePath}/skins/${skinDirName}/images/icon-pool/Pages.png" alt=""/></a>
|
||||
<a href="#head-tags"><img src="${staticServePath}/skins/${skinDirName}/images/icon-pool/Tags.png" alt=""/></a>
|
||||
<a href="#head-cats"><img src="${staticServePath}/skins/${skinDirName}/images/icon-pool/Archives.png" alt=""/></a>
|
||||
<a href="#head-category"><img src="${staticServePath}/skins/${skinDirName}/images/icon-pool/category.png" alt=""/></a>
|
||||
</div>
|
||||
|
||||
<ul id="head-pages">
|
||||
<li id="admin" data-login="${isLoggedIn?string}"><a href="${servePath}/admin-index.do#main"><img src="${staticServePath}/skins/${skinDirName}/images/icon-pool/Home.png" alt=""/>Admin</a></li>
|
||||
<#list pageNavigations as page>
|
||||
<li><a href="${page.pagePermalink}" target="${page.pageOpenTarget}"><#if page.pageIcon != ''><img class="page-icon" src="${page.pageIcon}"></#if>${page.pageTitle}</a></li>
|
||||
</#list>
|
||||
<li><a rel="alternate" href="${servePath}/rss.xml"><img src="${staticServePath}/skins/${skinDirName}/images/icon-pool/RSS.png" alt="" />RSS Feed</a></li>
|
||||
<li><a href="${servePath}/search?keyword=">Search</a></li>
|
||||
</ul>
|
||||
<ul id="head-tags">
|
||||
<#if 0 != mostUsedTags?size>
|
||||
<#list mostUsedTags as tag>
|
||||
<li><a href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">${tag.tagTitle} <span>(${tag.tagPublishedRefCount})</span></a></li>
|
||||
</#list>
|
||||
</#if>
|
||||
</ul>
|
||||
<ul id="head-cats">
|
||||
<#if 0 != archiveDates?size>
|
||||
<#list archiveDates as archiveDate>
|
||||
<li>
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}">
|
||||
${archiveDate.monthName} ${archiveDate.archiveDateYear} <span>(${archiveDate.archiveDatePublishedArticleCount})</span></a>
|
||||
<#else>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}">
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel} <span>(${archiveDate.archiveDatePublishedArticleCount})</span></a>
|
||||
</#if>
|
||||
</li>
|
||||
</#list>
|
||||
</#if>
|
||||
</ul>
|
||||
|
||||
<ul id="head-category">
|
||||
<#if 0 != mostUsedCategories?size>
|
||||
<#list mostUsedCategories as category>
|
||||
<li>
|
||||
<a href="${servePath}/category/${category.categoryURI}">
|
||||
${category.categoryTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
</#if>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="headerbar">
|
||||
<div id="headerbar-title">
|
||||
<!-- This fetches the admin selection logo icon for the header, which is also the bookmark icon -->
|
||||
<img id="logo-icon" src="${staticServePath}/skins/${skinDirName}/images/icon-pool/Apps.png" alt="aln" />
|
||||
<a rel="nofollow" href="${servePath}">${blogTitle}</a>
|
||||
</div>
|
||||
<div id="headerbar-menu">
|
||||
<a href="javascript:void(0)"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="drop-fade">
|
||||
|
||||
<#--<a id="searchopen" class="top" href="javascript:void(0)">${searchLabel}</a>-->
|
||||
<!-- #start the Prowl Message Area -->
|
||||
<div id="prowl-message" style="display:none">
|
||||
<div id="push-style-bar"></div><!-- filler to get the styling just right -->
|
||||
<img src="${staticServePath}/skins/${skinDirName}/themes/core/core-images/push-icon.png" alt="push icon" />
|
||||
<h4>Send a Message</h4>
|
||||
<p>This message will be pushed to the admin's iPhone instantly.</p><!--TODO instant msg-->
|
||||
|
||||
<form id="prowl-direct-message" method="post" action="/blog/">
|
||||
<p>
|
||||
<input name="prowl-msg-name" id="prowl-msg-name" type="text" />
|
||||
<label for="prowl-msg-name">Name</label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<input name="prowl-msg-email" id="prowl-msg-email" type="text" />
|
||||
<label for="prowl-msg-email">E-Mail</label>
|
||||
</p>
|
||||
|
||||
<textarea name="prowl-msg-message"></textarea>
|
||||
<input type="hidden" name="wptouch-prowl-message" value="1" />
|
||||
<input type="hidden" name="_nonce" value="3690953c13" />
|
||||
<input type="submit" name="prowl-submit" value="Send Now" id="prowl-submit" />
|
||||
</form>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
</div>
|
Before Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 20 KiB |
|
@ -1,38 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${blogTitle}">
|
||||
<#if metaKeywords??>
|
||||
<meta name="keywords" content="${metaKeywords}"/>
|
||||
</#if>
|
||||
<#if metaDescription??>
|
||||
<meta name="description" content="${metaDescription}"/>
|
||||
</#if>
|
||||
</@head>
|
||||
</head>
|
||||
<body class="classic-wptouch-bg">
|
||||
<#include "header.ftl">
|
||||
<#include "article-list.ftl">
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* 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/>.
|
||||
*/
|
||||
function convertEntities(b){var d,a;d=function(c){if(/&[^;]+;/.test(c)){var f=document.createElement("div");f.innerHTML=c;return !f.firstChild?c:f.firstChild.nodeValue}return c};if(typeof b==="string"){return d(b)}else{if(typeof b==="object"){for(a in b){if(typeof b[a]==="string"){b[a]=d(b[a])}}}}return b};
|
|
@ -1 +0,0 @@
|
|||
function convertEntities(t){var e,n;if(e=function(t){if(/&[^;]+;/.test(t)){var e=document.createElement("div");return e.innerHTML=t,e.firstChild?e.firstChild.nodeValue:t}return t},"string"==typeof t)return e(t);if("object"==typeof t)for(n in t)"string"==typeof t[n]&&(t[n]=e(t[n]));return t}
|
|
@ -1,62 +0,0 @@
|
|||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Mobile skin language configurations(en_US).
|
||||
# Version: 2.0.0.0, Feb 23, 2019
|
||||
# Author: Liang Ding
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
|
||||
addUserLabel=Add User
|
||||
url1Label=URL (start protocol, e.g.: http://):
|
||||
pageMgmtLabel=Pages
|
||||
noSignLabel=No Signs
|
||||
commentEmotions1Label=Emotions:
|
||||
commentEmotionsLabel=Emotions
|
||||
commentName1Label=Name:
|
||||
commentNameLabel=Name
|
||||
commentURL1Label=URL:
|
||||
commentURLLabel=URL
|
||||
commentContent1Label=Content:
|
||||
indexMostCommentArticleDisplayCnt1Label=Most Comment Article Display Count:
|
||||
externalRelevantArticlesDisplayCnt1Label=External Relevant Article Display Count:
|
||||
CSDNBlogLabel=CSDN Blog
|
||||
BlogJavaLabel=BlogJava
|
||||
CnBlogsLabel=CnBlogs
|
||||
tencentLabel=Tencent
|
||||
appKey1Label=App Key:
|
||||
appSecret1Label=App Secret:
|
||||
postToTencentMicroblogWhilePublishArticleLabel=Post to Tencent microblog while publish an article:
|
||||
postToCommunityLabel=Post to Community:
|
||||
authorizeTencentMicroblog1Label=Click to authorize:
|
||||
googleLabel=Google
|
||||
OAuthConsumerSecret1Label=OAuth Consumer Secret:
|
||||
keyOfSolo1Label=Solo Key:
|
||||
####
|
||||
tagsEmptyLabel=Tags is empty
|
||||
editorLeaveLabel=Content is not null, Do you leave\uFF1F
|
||||
editorPostLabel=Content is not null, Do you clear\uFF1F
|
||||
####
|
||||
confirmRemoveLabel=Are You Sure?
|
||||
responses=Responses
|
||||
commentSuccess=Success! Comment added.
|
||||
refresh2CComment=< Refresh the page to see your comment.
|
||||
readThisPost=Read This Post
|
||||
skipToComment=↓ Skip to comments
|
||||
publishing=Publishing...
|
|
@ -1,66 +0,0 @@
|
|||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Mobile skin language configurations(zh_CN).
|
||||
# Version: 2.0.0.0, Feb 23, 2019
|
||||
# Author: Liang Ding
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
|
||||
addUserLabel=\u6DFB\u52A0\u7528\u6237
|
||||
url1Label=URL (\u8BF7\u4EE5\u534F\u8BAE\u5F00\u5934\uFF0C\u5982: http://)\uFF1A
|
||||
blogSyncLabel=\u535A\u5BA2\u540C\u6B65
|
||||
pageLabel=\u9875\u9762
|
||||
pageMgmtLabel=\u9875\u9762\u7BA1\u7406
|
||||
noSignLabel=\u4E0D\u4F7F\u7528\u7B7E\u540D\u6863
|
||||
commentEmotions1Label=\u8868\u60C5\uFF1A
|
||||
commentEmotionsLabel=\u8868\u60C5
|
||||
commentName1Label=\u59D3\u540D\uFF1A
|
||||
commentNameLabel=\u59D3\u540D
|
||||
commentURL1Label=URL\uFF1A
|
||||
commentURLLabel=URL
|
||||
commentContent1Label=\u8BC4\u8BBA\u5185\u5BB9\uFF1A
|
||||
blogSyncMgmtLabel=\u535A\u5BA2\u540C\u6B65\u7BA1\u7406
|
||||
syncMgmtLabel=\u540C\u6B65\u7BA1\u7406\u535A\u5BA2
|
||||
syncPostLabel=\u540C\u6B65\u53D1\u5E03
|
||||
syncUpdateLabel=\u540C\u6B65\u66F4\u65B0
|
||||
syncRemoveLabel=\u540C\u6B65\u5220\u9664
|
||||
indexMostViewArticleDisplayCnt1Label=\u8BBF\u95EE\u6700\u591A\u6700\u591A\u6587\u7AE0\u663E\u793A\u6570\u76EE\uFF1A
|
||||
CSDNBlogLabel=CSDN \u535A\u5BA2
|
||||
BlogJavaLabel=BlogJava
|
||||
CnBlogsLabel=\u535A\u5BA2\u56ED
|
||||
tencentLabel=\u817E\u8BAF
|
||||
appKey1Label=App Key:
|
||||
appSecret1Label=App Secret:
|
||||
postToTencentMicroblogWhilePublishArticleLabel=\u53D1\u6587\u7AE0\u65F6\u540C\u6B65\u5230\u817E\u8BAF\u5FAE\u535A\uFF1A
|
||||
postToCommunityLabel=\u53D1\u5E03\u5230\u793E\u533A\uFF1A
|
||||
authorizeTencentMicroblog1Label=\u70B9\u51FB\u56FE\u6807\u8FDB\u884C\u6388\u6743:
|
||||
googleLabel=Google
|
||||
OAuthConsumerSecret1Label=OAuth Consumer Secret\uFF1A
|
||||
keyOfSolo1Label=Solo Key\uFF1A
|
||||
####
|
||||
tagsEmptyLabel=\u6807\u7B7E\u4E0D\u80FD\u4E3A\u7A7A\uFF01
|
||||
####
|
||||
confirmRemoveLabel=\u786E\u5B9A\u5220\u9664\uFF1F
|
||||
responses=\u56DE\u590D
|
||||
commentSuccess=\u8BC4\u8BBA\u6210\u529F\uFF01
|
||||
refresh2CComment=< \u9A6C\u4E0A\u5237\u65B0\u9875\u9762\u5C31\u80FD\u770B\u5230\u8BC4\u8BBA\u4E86
|
||||
readThisPost=\u9605\u8BFB\u5168\u6587
|
||||
skipToComment=↓ \u53D1\u8868\u8BC4\u8BBA
|
||||
publishing=\u6B63\u5728\u63D0\u4EA4...
|
|
@ -1,45 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#macro comments commentList article>
|
||||
<!-- Let's rock the comments -->
|
||||
<!-- You can start editing below here... but make a backup first! -->
|
||||
<div class="comment_wrapper" id="comments">
|
||||
<#if 0 lt commentList?size>
|
||||
<h3 onclick="bnc_showhide_coms_toggle();" id="com-head">
|
||||
${commentList?size} ${responses}
|
||||
</h3>
|
||||
</#if>
|
||||
<ol class="commentlist" id="commentlist">
|
||||
<#list commentList as comment>
|
||||
<#include "common-comment.ftl"/>
|
||||
</#list>
|
||||
</ol>
|
||||
<#if article.commentable>
|
||||
<div id="textinputwrap" style="margin: 0 10px">
|
||||
<div id="refresher" style="display:none;">
|
||||
<img src="${staticServePath}/skins/${skinDirName}/images/good.png" alt="checkmark" />
|
||||
<h3>${commentSuccess}</h3>
|
||||
<a href="javascript:this.location.reload();">${refresh2CComment}</a>
|
||||
</div>
|
||||
<textarea id="comment" rows="3" placeholder="${postCommentsLabel}" tabindex="4"></textarea>
|
||||
</div>
|
||||
</#if><!--textinputwrap div-->
|
||||
</div>
|
||||
</#macro>
|
|
@ -1,78 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#macro head title>
|
||||
<meta charset="utf-8" />
|
||||
<title>${title}</title>
|
||||
<#nested>
|
||||
<meta name="author" content="${blogTitle?html}" />
|
||||
<meta name="generator" content="Solo" />
|
||||
<meta name="copyright" content="B3log" />
|
||||
<meta name="owner" content="B3log Team" />
|
||||
<meta name="revised" content="${blogTitle?html}, ${year}" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
||||
<meta http-equiv="Window-target" content="_top" />
|
||||
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}" charset="utf-8" />
|
||||
<link type="text/css" rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/themes/default/style.css?${staticResourceVersion}" charset="utf-8" />
|
||||
<link rel="manifest" href="${servePath}/manifest.json">
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="${title}" href="/opensearch.xml">
|
||||
<style type="text/css">
|
||||
#headerbar, #wptouch-login, #wptouch-search {
|
||||
background: #000000 url(/skins/${skinDirName}/themes/core/core-images/head-fade-bk.png);
|
||||
}
|
||||
#headerbar-title, #headerbar-title a {
|
||||
color: #eeeeee;
|
||||
}
|
||||
#wptouch-menu-inner a:hover {
|
||||
color: #006bb3;
|
||||
}
|
||||
#catsmenu-inner a:hover {
|
||||
color: #006bb3;
|
||||
}
|
||||
#drop-fade {
|
||||
background: #333333;
|
||||
}
|
||||
a, h3#com-head {
|
||||
color: #006bb3;
|
||||
}
|
||||
|
||||
a.h2, a.sh2, .page h2 {
|
||||
font-family: 'Helvetica Neue';
|
||||
}
|
||||
|
||||
|
||||
a.h2{
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
</style>
|
||||
<link href="${servePath}/rss.xml" title="RSS" type="application/rss+xml" rel="alternate" />
|
||||
<link rel="icon" type="image/png" href="${faviconURL}" />
|
||||
<script type='text/javascript' src='${staticServePath}/skins/${skinDirName}/js/l10n${miniPostfix}.js?${staticResourceVersion}'></script>
|
||||
<script type="text/javascript" src="${staticServePath}/js/lib/jquery/jquery.min.js" charset="utf-8"></script>
|
||||
<script type='text/javascript' src='${staticServePath}/skins/${skinDirName}/themes/core/core.js?${staticResourceVersion}'></script>
|
||||
<script type="text/javascript">
|
||||
// Hides the addressbar on non-post pages
|
||||
function hideURLbar() { window.scrollTo(0,1); }
|
||||
addEventListener('load', function() { setTimeout(hideURLbar, 0); }, false );
|
||||
</script>
|
||||
${htmlHead}
|
||||
</#macro>
|
|
@ -1,42 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<#include "macro-comments.ftl">
|
||||
<#include "../../common-template/macro-comment_script.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${page.pageTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${page.pageTitle}" />
|
||||
<meta name="description" content="${metaDescription}" />
|
||||
</@head>
|
||||
</head>
|
||||
<body class="classic-wptouch-bg ">
|
||||
<#include "header.ftl">
|
||||
<div class="content single">
|
||||
<div class="post vditor-reset">
|
||||
${page.pageContent}
|
||||
</div>
|
||||
<@comments commentList=pageComments article=page></@comments>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
<@comment_script oId=page.oId commentable=page.commentable></@comment_script>
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 48 KiB |
165
mobile/side.ftl
|
@ -1,165 +0,0 @@
|
|||
<#--
|
||||
|
||||
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="sideNavi" class="side-navi">
|
||||
<#if "" != noticeBoard>
|
||||
<ul class="marginTop12">
|
||||
<li>
|
||||
<h4>${noticeBoardLabel}</h4>
|
||||
</li>
|
||||
<li class="side-navi-notice">${noticeBoard}</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != recentComments?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${recentCommentsLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul id="recentComments">
|
||||
<#list recentComments as comment>
|
||||
<li>
|
||||
<#if "http://" == comment.commentURL>
|
||||
${comment.commentName}<#else>
|
||||
<a target="_blank" href="${comment.commentURL}">
|
||||
${comment.commentName}</a></#if>:
|
||||
<a rel="nofollow" class='side-comment' href="${servePath}${comment.commentSharpURL}">
|
||||
${comment.commentContent}
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != mostCommentArticles?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${mostCommentArticlesLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul>
|
||||
<#list mostCommentArticles as article>
|
||||
<li>
|
||||
<sup>[${article.articleCommentCount}]</sup><a rel="nofollow" title="${article.articleTitle}"
|
||||
href="${servePath}${article.articlePermalink}">${article.articleTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != mostViewCountArticles?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${mostViewCountArticlesLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul id="mostViewCountArticles">
|
||||
<#list mostViewCountArticles as article>
|
||||
<li>
|
||||
<sup>[${article.articleViewCount}]</sup><a rel="nofollow" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">${article.articleTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != mostUsedTags?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${popTagsLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul>
|
||||
<#list mostUsedTags as tag>
|
||||
<li>
|
||||
<a rel="tag" title="${tag.tagTitle}(${tag.tagPublishedRefCount})" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}">
|
||||
${tag.tagTitle}</a>
|
||||
(${tag.tagPublishedRefCount})
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != links?size>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>${linkLabel}</h4>
|
||||
</li>
|
||||
<li>
|
||||
<ul id="sideLink">
|
||||
<#list links as link>
|
||||
<li>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">
|
||||
<img alt="${link.linkTitle}"
|
||||
src="${faviconAPI}<#list link.linkAddress?split('/') as x><#if x_index=2>${x}<#break></#if></#list>" width="16" height="16" /></a>
|
||||
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">${link.linkTitle}
|
||||
</a>
|
||||
<#-- ${link.linkDescription} -->
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="line"></div>
|
||||
</#if>
|
||||
<#if 0 != archiveDates?size>
|
||||
<ul>
|
||||
<li onclick="toggleArchive(this)" class="pointer">
|
||||
<h4>${archiveLabel} +</h4>
|
||||
</li>
|
||||
<li class="none">
|
||||
<ul>
|
||||
<#list archiveDates as archiveDate>
|
||||
<li>
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.monthName} ${archiveDate.archiveDateYear}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.monthName} ${archiveDate.archiveDateYear}</a>(${archiveDate.archiveDatePublishedArticleCount})
|
||||
<#else>
|
||||
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
|
||||
title="${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}(${archiveDate.archiveDatePublishedArticleCount})">
|
||||
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}</a>(${archiveDate.archiveDatePublishedArticleCount})
|
||||
</#if>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</#if>
|
||||
</div>
|
||||
<ul id="head-category">
|
||||
<#if 0 != mostUsedCategories?size>
|
||||
<#list mostUsedCategories as category>
|
||||
<li>
|
||||
<a href="${servePath}/category/${category.categoryURI}"
|
||||
aria-label="${category.categoryTagCnt} ${tagsLabel}"
|
||||
class="tag tooltipped tooltipped-n">
|
||||
${category.categoryTitle}</a>
|
||||
</li>
|
||||
</#list>
|
||||
</#if>
|
||||
</ul>
|
|
@ -1,26 +0,0 @@
|
|||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Description: Mobile skin.
|
||||
# Version: 1.0.0.15, Feb 20, 2017
|
||||
# Author: Liang Ding
|
||||
#
|
||||
|
||||
name=mobile
|
||||
memo=\u8BF7\u4E0D\u8981\u4ECE\u90E8\u7F72\u76EE\u5F55\u4E2D\u5220\u9664\u8BE5\u76AE\u80A4\uFF0C\u5426\u5219\u79FB\u52A8\u8BBE\u5907\u8BBF\u95EE\u65F6\u535A\u5BA2\u5C06\u4E0D\u53EF\u7528\u3002
|
|
@ -1,43 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${tag.tagTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${tag.tagTitle}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body class="classic-wptouch-bg ">
|
||||
<#include "header.ftl">
|
||||
<div class="content single">
|
||||
<div class="post">
|
||||
<h2 >${tag1Label}
|
||||
<a rel="alternate" href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}"><span id="tagArticlesTag">
|
||||
${tag.tagTitle}
|
||||
</span>(${tag.tagPublishedRefCount})</a>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
|
@ -1,49 +0,0 @@
|
|||
<#--
|
||||
|
||||
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/>.
|
||||
|
||||
-->
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${allTagsLabel} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${allTagsLabel}"/>
|
||||
<meta name="description" content="<#list tags as tag>${tag.tagTitle}<#if tag_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body class="classic-wptouch-bg ">
|
||||
${topBarReplacement}
|
||||
<#include "header.ftl">
|
||||
<div class="content single">
|
||||
<div class="post">
|
||||
<ul id="tags">
|
||||
<#list tags as tag>
|
||||
<span>
|
||||
<a rel="tag" data-count="${tag.tagPublishedRefCount}"
|
||||
href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}" title="${tag.tagTitle}">
|
||||
<span>${tag.tagTitle}</span>
|
||||
(<b>${tag.tagPublishedRefCount}</b>)
|
||||
</a>
|
||||
</span>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 624 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 746 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 132 B |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 880 B |
Before Width: | Height: | Size: 98 B |
Before Width: | Height: | Size: 852 B |