Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
b145ac62
Unverified
Commit
b145ac62
authored
Jan 16, 2020
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
#18
parent
2498205e
Changes
53
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
53 changed files
with
60 additions
and
86 deletions
+60
-86
src/main/resources/common-template/label.ftl
src/main/resources/common-template/label.ftl
+1
-1
src/main/resources/js/admin/admin.min.js
src/main/resources/js/admin/admin.min.js
+2
-2
src/main/resources/js/common.min.js
src/main/resources/js/common.min.js
+1
-1
src/main/resources/skins/9IPHP/article-list.ftl
src/main/resources/skins/9IPHP/article-list.ftl
+1
-1
src/main/resources/skins/9IPHP/article.ftl
src/main/resources/skins/9IPHP/article.ftl
+1
-1
src/main/resources/skins/9IPHP/side.ftl
src/main/resources/skins/9IPHP/side.ftl
+2
-6
src/main/resources/skins/Andrea/article-list.ftl
src/main/resources/skins/Andrea/article-list.ftl
+1
-1
src/main/resources/skins/Andrea/article.ftl
src/main/resources/skins/Andrea/article.ftl
+1
-1
src/main/resources/skins/Andrea/side.ftl
src/main/resources/skins/Andrea/side.ftl
+1
-1
src/main/resources/skins/Bubble/article-list.ftl
src/main/resources/skins/Bubble/article-list.ftl
+2
-2
src/main/resources/skins/Casper/article-list.ftl
src/main/resources/skins/Casper/article-list.ftl
+2
-2
src/main/resources/skins/Community/article-list.ftl
src/main/resources/skins/Community/article-list.ftl
+1
-1
src/main/resources/skins/Community/article.ftl
src/main/resources/skins/Community/article.ftl
+1
-1
src/main/resources/skins/Community/side.ftl
src/main/resources/skins/Community/side.ftl
+1
-1
src/main/resources/skins/Finding/css/base.css
src/main/resources/skins/Finding/css/base.css
+1
-1
src/main/resources/skins/Finding/css/base.scss
src/main/resources/skins/Finding/css/base.scss
+1
-1
src/main/resources/skins/Finding/dynamic.ftl
src/main/resources/skins/Finding/dynamic.ftl
+1
-1
src/main/resources/skins/Jane/article-list.ftl
src/main/resources/skins/Jane/article-list.ftl
+1
-1
src/main/resources/skins/Jane/article.ftl
src/main/resources/skins/Jane/article.ftl
+1
-1
src/main/resources/skins/Medium/article-list.ftl
src/main/resources/skins/Medium/article-list.ftl
+1
-1
src/main/resources/skins/Medium/article.ftl
src/main/resources/skins/Medium/article.ftl
+3
-3
src/main/resources/skins/NeoEase/article-list.ftl
src/main/resources/skins/NeoEase/article-list.ftl
+1
-1
src/main/resources/skins/NeoEase/article.ftl
src/main/resources/skins/NeoEase/article.ftl
+1
-1
src/main/resources/skins/NeoEase/side.ftl
src/main/resources/skins/NeoEase/side.ftl
+1
-1
src/main/resources/skins/Pinghsu/article.ftl
src/main/resources/skins/Pinghsu/article.ftl
+1
-3
src/main/resources/skins/favourite/article-list.ftl
src/main/resources/skins/favourite/article-list.ftl
+1
-1
src/main/resources/skins/favourite/article.ftl
src/main/resources/skins/favourite/article.ftl
+1
-1
src/main/resources/skins/favourite/side.ftl
src/main/resources/skins/favourite/side.ftl
+1
-1
src/main/resources/skins/i-nove/article-list.ftl
src/main/resources/skins/i-nove/article-list.ftl
+1
-1
src/main/resources/skins/i-nove/article.ftl
src/main/resources/skins/i-nove/article.ftl
+1
-1
src/main/resources/skins/i-nove/side.ftl
src/main/resources/skins/i-nove/side.ftl
+1
-1
src/main/resources/skins/metro-hot/article-list.ftl
src/main/resources/skins/metro-hot/article-list.ftl
+1
-1
src/main/resources/skins/metro-hot/article.ftl
src/main/resources/skins/metro-hot/article.ftl
+1
-1
src/main/resources/skins/metro-hot/dynamic.ftl
src/main/resources/skins/metro-hot/dynamic.ftl
+1
-1
src/main/resources/skins/next/article-list.ftl
src/main/resources/skins/next/article-list.ftl
+1
-1
src/main/resources/skins/next/article.ftl
src/main/resources/skins/next/article.ftl
+1
-1
src/main/resources/skins/nijigen/article-list.ftl
src/main/resources/skins/nijigen/article-list.ftl
+1
-1
src/main/resources/skins/nijigen/article.ftl
src/main/resources/skins/nijigen/article.ftl
+1
-1
src/main/resources/skins/owmx-3.0/article-list.ftl
src/main/resources/skins/owmx-3.0/article-list.ftl
+1
-1
src/main/resources/skins/owmx-3.0/article.ftl
src/main/resources/skins/owmx-3.0/article.ftl
+1
-1
src/main/resources/skins/owmx-3.0/side.ftl
src/main/resources/skins/owmx-3.0/side.ftl
+1
-1
src/main/resources/skins/timeline/article-list.ftl
src/main/resources/skins/timeline/article-list.ftl
+1
-5
src/main/resources/skins/timeline/article.ftl
src/main/resources/skins/timeline/article.ftl
+1
-5
src/main/resources/skins/timeline/dynamic.ftl
src/main/resources/skins/timeline/dynamic.ftl
+1
-5
src/main/resources/skins/timeline/index.ftl
src/main/resources/skins/timeline/index.ftl
+1
-5
src/main/resources/skins/timeline/js/timeline.js
src/main/resources/skins/timeline/js/timeline.js
+1
-1
src/main/resources/skins/timeline/js/timeline.min.js
src/main/resources/skins/timeline/js/timeline.min.js
+2
-2
src/main/resources/skins/tree-house/article-list.ftl
src/main/resources/skins/tree-house/article-list.ftl
+1
-1
src/main/resources/skins/tree-house/article.ftl
src/main/resources/skins/tree-house/article.ftl
+1
-1
src/main/resources/skins/tree-house/side.ftl
src/main/resources/skins/tree-house/side.ftl
+1
-1
src/main/resources/skins/yilia/article-list.ftl
src/main/resources/skins/yilia/article-list.ftl
+1
-3
src/main/resources/skins/yilia/article.ftl
src/main/resources/skins/yilia/article.ftl
+1
-3
src/main/resources/skins/yilia/dynamic.ftl
src/main/resources/skins/yilia/dynamic.ftl
+1
-1
No files found.
src/main/resources/common-template/label.ftl
View file @
b145ac62
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
-->
<script src="https://cdn.jsdelivr.net/npm/uvstat@v1.0.
5
/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/uvstat@v1.0.
6
/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vcmt@v1.0.4/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vcmt@v1.0.4/dist/index.min.js"></script>
<script>
<script>
var Label = {
var Label = {
...
...
src/main/resources/js/admin/admin.min.js
View file @
b145ac62
This diff is collapsed.
Click to expand it.
src/main/resources/js/common.min.js
View file @
b145ac62
var
Util
=
{
uvstat
:
void
0
,
initViewCnt
:
function
(){
Util
.
uvstat
=
new
Uvstat
,
Util
.
uvstat
.
addStat
(),
Util
.
uvstat
.
renderStat
()},
isArticlePage
:
function
(
e
){
var
t
=!
0
;
return
e
.
indexOf
(
Label
.
servePath
+
"
/tags/
"
)
>-
1
&&
(
t
=!
1
),
e
.
indexOf
(
Label
.
servePath
+
"
/tags.html
"
)
>-
1
&&
(
t
=!
1
),
e
.
indexOf
(
Label
.
servePath
+
"
/category/
"
)
>-
1
&&
(
t
=!
1
),
e
.
indexOf
(
Label
.
servePath
+
"
/archives.html
"
)
>-
1
&&
(
t
=!
1
),
e
.
indexOf
(
Label
.
servePath
+
"
/archives/
"
)
>-
1
&&
(
t
=!
1
),
e
.
indexOf
(
Label
.
servePath
+
"
/links.html
"
)
>-
1
&&
(
t
=!
1
),
e
===
Label
.
servePath
&&
(
t
=!
1
),
/^
[
0-9
]
*$/
.
test
(
e
.
replace
(
Label
.
servePath
+
"
/
"
,
""
))
&&
(
t
=!
1
),
t
},
initPjax
:
function
(
e
){
1
===
$
(
"
#pjax
"
).
length
&&
(
$
.
pjax
({
selector
:
"
a
"
,
container
:
"
#pjax
"
,
show
:
""
,
cache
:
!
1
,
storage
:
!
0
,
titleSuffix
:
""
,
filter
:
function
(
e
,
t
){
return
!
e
||
(
"
_blank
"
===
t
.
getAttribute
(
"
target
"
)
||
(
e
===
Label
.
servePath
+
"
/rss.xml
"
||
e
.
indexOf
(
Label
.
servePath
+
"
/admin-index.do
"
)
>-
1
||
(
0
===
e
.
indexOf
(
"
#
"
)
||!
(
t
.
href
.
indexOf
(
Label
.
servePath
)
>-
1
))))},
callback
:
function
(){
Util
.
parseMarkdown
(),
Util
.
parseLanguage
(),
Util
.
uvstat
.
addStat
(),
Util
.
uvstat
.
renderStat
(),
e
&&
e
()}}),
NProgress
.
configure
({
showSpinner
:
!
1
}),
$
(
"
#pjax
"
).
bind
(
"
pjax.start
"
,(
function
(){
NProgress
.
start
()})),
$
(
"
#pjax
"
).
bind
(
"
pjax.end
"
,(
function
(){
window
.
scroll
(
window
.
scrollX
,
0
),
NProgress
.
done
()})))},
previewImg
:
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
.vditor-reset img
"
,(
function
(){
$
(
this
).
hasClass
(
"
prevent
"
)
||
window
.
open
(
this
.
src
)}))},
addStyle
:
function
(
e
,
t
){
if
(
!
document
.
getElementById
(
t
)){
var
i
=
document
.
createElement
(
"
link
"
);
i
.
id
=
t
,
i
.
setAttribute
(
"
rel
"
,
"
stylesheet
"
),
i
.
setAttribute
(
"
type
"
,
"
text/css
"
),
i
.
setAttribute
(
"
href
"
,
e
),
document
.
getElementsByTagName
(
"
head
"
)[
0
].
appendChild
(
i
)}},
addScript
:
function
(
e
,
t
){
if
(
!
document
.
getElementById
(
t
)){
var
i
=
new
XMLHttpRequest
;
i
.
open
(
"
GET
"
,
e
,
!
1
),
i
.
setRequestHeader
(
"
Accept
"
,
"
text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01
"
),
i
.
send
(
""
);
var
a
=
document
.
createElement
(
"
script
"
);
a
.
id
=
t
,
a
.
type
=
"
text/javascript
"
,
a
.
text
=
i
.
responseText
,
document
.
getElementsByTagName
(
"
head
"
)[
0
].
appendChild
(
a
)}},
parseLanguage
:
function
(){
Vditor
.
highlightRender
({
style
:
Label
.
hljsStyle
,
enable
:
!
Label
.
luteAvailable
},
document
)},
parseMarkdown
:
function
(){
"
undefined
"
==
typeof
Vditor
&&
Util
.
addScript
(
"
https://cdn.jsdelivr.net/npm/vditor@2.1.1/dist/method.min.js
"
,
"
vditorPreviewScript
"
),
Vditor
.
codeRender
(
document
.
body
,
Label
.
langLabel
),
Label
.
luteAvailable
?
Vditor
.
mathRenderByLute
(
document
.
body
):
Vditor
.
mathRender
(
document
.
body
),
Vditor
.
abcRender
(),
Vditor
.
chartRender
(),
Vditor
.
mediaRender
(
document
.
body
),
Vditor
.
mermaidRender
(
document
.
body
),
document
.
querySelectorAll
(
"
.vditor-reset
"
).
forEach
(
e
=>
{
Vditor
.
speechRender
(
e
,
Label
.
langLabel
)})},
killIE
:
function
(
e
){
var
t
=
navigator
.
userAgent
.
split
(
"
MSIE
"
)[
1
];
t
&&
(
e
||
(
e
=
7
),
parseFloat
(
t
.
split
(
"
;
"
))
<=
e
&&
function
(){
try
{
var
e
=
'
<div class="killIEIframe" style=
\'
display: block; height: 100%; width: 100%; position: fixed; background-color: rgb(0, 0, 0); opacity: 0.6;filter: alpha(opacity=60); top: 0px;z-index:110
\'
></div><iframe class="killIEIframe" style=
\'
left:
'
+
(
$
(
window
).
width
()
-
781
)
/
2
+
"
px;z-index:120;top:
"
+
(
$
(
window
).
height
()
-
680
)
/
2
+
"
px; position: fixed; border: 0px none; width: 781px; height: 680px;' src='
"
+
Label
.
servePath
+
"
/kill-browser'></iframe>
"
;
$
(
"
body
"
).
append
(
e
)}
catch
(
t
){
e
=
'
<div class="killIEIframe" style=
\'
display: block; height: 100%; width: 100%; position: fixed; background-color: rgb(0, 0, 0); opacity: 0.6;filter: alpha(opacity=60); top: 0px;z-index:110
\'
></div><iframe class="killIEIframe" style=
\'
left:
'
+
10
+
"
px;z-index:120;top:
"
+
0
+
"
px; position: fixed; border: 0px none; width: 781px; height: 680px;' src='
"
+
Label
.
servePath
+
"
/kill-browser'></iframe>
"
;
document
.
body
.
innerHTML
=
document
.
body
.
innerHTML
+
e
}}())},
setTopBar
:
function
(){
var
e
=
$
(
"
#top
"
);
if
(
1
===
e
.
length
){
var
t
=
$
(
"
#showTop
"
);
t
.
click
((
function
(){
e
.
slideDown
(),
t
.
hide
()})),
$
(
"
#hideTop
"
).
click
((
function
(){
e
.
slideUp
(),
t
.
show
()}))}},
goTop
:
function
(){
$
(
"
html, body
"
).
animate
({
scrollTop
:
0
},
800
)},
goBottom
:
function
(
e
){
e
||
(
e
=
0
),
$
(
"
html, body
"
).
animate
({
scrollTop
:
$
(
document
).
height
()
-
$
(
window
).
height
()
-
e
},
800
)},
init
:
function
(){
Util
.
killIE
(),
Util
.
parseMarkdown
(),
Util
.
parseLanguage
(),
Util
.
initSW
(),
Util
.
previewImg
(),
Util
.
initDebugInfo
(),
Util
.
initViewCnt
()},
initDebugInfo
:
function
(){
console
.
log
(
"
%cSolo%c
\n
\
ud83c
\
udfb8
\
u4e00
\
u6b3e
\
u5c0f
\
u800c
\
u7f8e
\
u7684
\
u535a
\
u5ba2
\
u7cfb
\
u7edf
\
uff0c
\
u4e13
\
u4e3a
\
u7a0b
\
u5e8f
\
u5458
\
u8bbe
\
u8ba1
\
u3002
\n\n
solo.b3log.org v
"
+
Label
.
version
+
"
\n
Copyright
\
xa9 2010-present
"
,
"
font-size:96px;color:#3b3e43
"
,
"
font-size:12px;color:#4285f4;
"
)},
initSW
:
function
(){
navigator
.
serviceWorker
&&
navigator
.
serviceWorker
.
register
(
"
/sw.js
"
,{
scope
:
"
/
"
})},
buildTags
:
function
(
e
){
e
=
e
||
"
tags
"
;
for
(
var
t
=
[
"
tags1
"
,
"
tags2
"
,
"
tags3
"
,
"
tags4
"
,
"
tags5
"
],
i
=
$
(
"
#
"
+
e
+
"
b
"
).
get
(),
a
=
parseInt
(
$
(
"
#
"
+
e
+
"
b
"
).
last
().
text
()),
n
=
Math
.
ceil
(
a
/
t
.
length
),
r
=
0
;
r
<
i
.
length
;
r
++
)
for
(
var
o
=
parseInt
(
i
[
r
].
innerHTML
),
l
=
0
;
l
<
t
.
length
;
l
++
)
if
(
o
>
l
*
n
&&
o
<=
(
l
+
1
)
*
n
){
i
[
r
].
parentNode
.
className
=
t
[
l
];
break
}
$
(
"
#
"
+
e
).
html
(
$
(
"
#
"
+
e
+
"
li
"
).
get
().
sort
((
function
(
e
,
t
){
var
i
=
$
(
e
).
find
(
"
span
"
).
text
().
toLowerCase
(),
a
=
$
(
t
).
find
(
"
span
"
).
text
().
toLowerCase
();
return
i
.
localeCompare
(
a
)})))}};
var
Util
=
{
uvstat
:
void
0
,
initViewCnt
:
function
(){
Util
.
uvstat
=
new
Uvstat
,
Util
.
uvstat
.
addStat
(),
Util
.
uvstat
.
renderStat
(),
Util
.
uvstat
.
renderCmtStat
()},
isArticlePage
:
function
(
e
){
var
t
=!
0
;
return
e
.
indexOf
(
Label
.
servePath
+
"
/tags/
"
)
>-
1
&&
(
t
=!
1
),
e
.
indexOf
(
Label
.
servePath
+
"
/tags.html
"
)
>-
1
&&
(
t
=!
1
),
e
.
indexOf
(
Label
.
servePath
+
"
/category/
"
)
>-
1
&&
(
t
=!
1
),
e
.
indexOf
(
Label
.
servePath
+
"
/archives.html
"
)
>-
1
&&
(
t
=!
1
),
e
.
indexOf
(
Label
.
servePath
+
"
/archives/
"
)
>-
1
&&
(
t
=!
1
),
e
.
indexOf
(
Label
.
servePath
+
"
/links.html
"
)
>-
1
&&
(
t
=!
1
),
e
===
Label
.
servePath
&&
(
t
=!
1
),
/^
[
0-9
]
*$/
.
test
(
e
.
replace
(
Label
.
servePath
+
"
/
"
,
""
))
&&
(
t
=!
1
),
t
},
initPjax
:
function
(
e
){
1
===
$
(
"
#pjax
"
).
length
&&
(
$
.
pjax
({
selector
:
"
a
"
,
container
:
"
#pjax
"
,
show
:
""
,
cache
:
!
1
,
storage
:
!
0
,
titleSuffix
:
""
,
filter
:
function
(
e
,
t
){
return
!
e
||
(
"
_blank
"
===
t
.
getAttribute
(
"
target
"
)
||
(
e
===
Label
.
servePath
+
"
/rss.xml
"
||
e
.
indexOf
(
Label
.
servePath
+
"
/admin-index.do
"
)
>-
1
||
(
0
===
e
.
indexOf
(
"
#
"
)
||!
(
t
.
href
.
indexOf
(
Label
.
servePath
)
>-
1
))))},
callback
:
function
(){
Util
.
parseMarkdown
(),
Util
.
parseLanguage
(),
Util
.
uvstat
.
addStat
(),
Util
.
uvstat
.
renderStat
(),
Util
.
uvstat
.
renderCmtStat
(),
e
&&
e
()}}),
NProgress
.
configure
({
showSpinner
:
!
1
}),
$
(
"
#pjax
"
).
bind
(
"
pjax.start
"
,(
function
(){
NProgress
.
start
()})),
$
(
"
#pjax
"
).
bind
(
"
pjax.end
"
,(
function
(){
window
.
scroll
(
window
.
scrollX
,
0
),
NProgress
.
done
()})))},
previewImg
:
function
(){
$
(
"
body
"
).
on
(
"
click
"
,
"
.vditor-reset img
"
,(
function
(){
$
(
this
).
hasClass
(
"
prevent
"
)
||
window
.
open
(
this
.
src
)}))},
addStyle
:
function
(
e
,
t
){
if
(
!
document
.
getElementById
(
t
)){
var
i
=
document
.
createElement
(
"
link
"
);
i
.
id
=
t
,
i
.
setAttribute
(
"
rel
"
,
"
stylesheet
"
),
i
.
setAttribute
(
"
type
"
,
"
text/css
"
),
i
.
setAttribute
(
"
href
"
,
e
),
document
.
getElementsByTagName
(
"
head
"
)[
0
].
appendChild
(
i
)}},
addScript
:
function
(
e
,
t
){
if
(
!
document
.
getElementById
(
t
)){
var
i
=
new
XMLHttpRequest
;
i
.
open
(
"
GET
"
,
e
,
!
1
),
i
.
setRequestHeader
(
"
Accept
"
,
"
text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01
"
),
i
.
send
(
""
);
var
a
=
document
.
createElement
(
"
script
"
);
a
.
id
=
t
,
a
.
type
=
"
text/javascript
"
,
a
.
text
=
i
.
responseText
,
document
.
getElementsByTagName
(
"
head
"
)[
0
].
appendChild
(
a
)}},
parseLanguage
:
function
(){
Vditor
.
highlightRender
({
style
:
Label
.
hljsStyle
,
enable
:
!
Label
.
luteAvailable
},
document
)},
parseMarkdown
:
function
(){
"
undefined
"
==
typeof
Vditor
&&
Util
.
addScript
(
"
https://cdn.jsdelivr.net/npm/vditor@2.1.1/dist/method.min.js
"
,
"
vditorPreviewScript
"
),
Vditor
.
codeRender
(
document
.
body
,
Label
.
langLabel
),
Label
.
luteAvailable
?
Vditor
.
mathRenderByLute
(
document
.
body
):
Vditor
.
mathRender
(
document
.
body
),
Vditor
.
abcRender
(),
Vditor
.
chartRender
(),
Vditor
.
mediaRender
(
document
.
body
),
Vditor
.
mermaidRender
(
document
.
body
),
document
.
querySelectorAll
(
"
.vditor-reset
"
).
forEach
(
e
=>
{
Vditor
.
speechRender
(
e
,
Label
.
langLabel
)})},
killIE
:
function
(
e
){
var
t
=
navigator
.
userAgent
.
split
(
"
MSIE
"
)[
1
];
t
&&
(
e
||
(
e
=
7
),
parseFloat
(
t
.
split
(
"
;
"
))
<=
e
&&
function
(){
try
{
var
e
=
'
<div class="killIEIframe" style=
\'
display: block; height: 100%; width: 100%; position: fixed; background-color: rgb(0, 0, 0); opacity: 0.6;filter: alpha(opacity=60); top: 0px;z-index:110
\'
></div><iframe class="killIEIframe" style=
\'
left:
'
+
(
$
(
window
).
width
()
-
781
)
/
2
+
"
px;z-index:120;top:
"
+
(
$
(
window
).
height
()
-
680
)
/
2
+
"
px; position: fixed; border: 0px none; width: 781px; height: 680px;' src='
"
+
Label
.
servePath
+
"
/kill-browser'></iframe>
"
;
$
(
"
body
"
).
append
(
e
)}
catch
(
t
){
e
=
'
<div class="killIEIframe" style=
\'
display: block; height: 100%; width: 100%; position: fixed; background-color: rgb(0, 0, 0); opacity: 0.6;filter: alpha(opacity=60); top: 0px;z-index:110
\'
></div><iframe class="killIEIframe" style=
\'
left:
'
+
10
+
"
px;z-index:120;top:
"
+
0
+
"
px; position: fixed; border: 0px none; width: 781px; height: 680px;' src='
"
+
Label
.
servePath
+
"
/kill-browser'></iframe>
"
;
document
.
body
.
innerHTML
=
document
.
body
.
innerHTML
+
e
}}())},
setTopBar
:
function
(){
var
e
=
$
(
"
#top
"
);
if
(
1
===
e
.
length
){
var
t
=
$
(
"
#showTop
"
);
t
.
click
((
function
(){
e
.
slideDown
(),
t
.
hide
()})),
$
(
"
#hideTop
"
).
click
((
function
(){
e
.
slideUp
(),
t
.
show
()}))}},
goTop
:
function
(){
$
(
"
html, body
"
).
animate
({
scrollTop
:
0
},
800
)},
goBottom
:
function
(
e
){
e
||
(
e
=
0
),
$
(
"
html, body
"
).
animate
({
scrollTop
:
$
(
document
).
height
()
-
$
(
window
).
height
()
-
e
},
800
)},
init
:
function
(){
Util
.
killIE
(),
Util
.
parseMarkdown
(),
Util
.
parseLanguage
(),
Util
.
initSW
(),
Util
.
previewImg
(),
Util
.
initDebugInfo
(),
Util
.
initViewCnt
()},
initDebugInfo
:
function
(){
console
.
log
(
"
%cSolo%c
\n
\
ud83c
\
udfb8
\
u4e00
\
u6b3e
\
u5c0f
\
u800c
\
u7f8e
\
u7684
\
u535a
\
u5ba2
\
u7cfb
\
u7edf
\
uff0c
\
u4e13
\
u4e3a
\
u7a0b
\
u5e8f
\
u5458
\
u8bbe
\
u8ba1
\
u3002
\n\n
solo.b3log.org v
"
+
Label
.
version
+
"
\n
Copyright
\
xa9 2010-present
"
,
"
font-size:96px;color:#3b3e43
"
,
"
font-size:12px;color:#4285f4;
"
)},
initSW
:
function
(){
navigator
.
serviceWorker
&&
navigator
.
serviceWorker
.
register
(
"
/sw.js
"
,{
scope
:
"
/
"
})},
buildTags
:
function
(
e
){
e
=
e
||
"
tags
"
;
for
(
var
t
=
[
"
tags1
"
,
"
tags2
"
,
"
tags3
"
,
"
tags4
"
,
"
tags5
"
],
i
=
$
(
"
#
"
+
e
+
"
b
"
).
get
(),
a
=
parseInt
(
$
(
"
#
"
+
e
+
"
b
"
).
last
().
text
()),
n
=
Math
.
ceil
(
a
/
t
.
length
),
r
=
0
;
r
<
i
.
length
;
r
++
)
for
(
var
o
=
parseInt
(
i
[
r
].
innerHTML
),
l
=
0
;
l
<
t
.
length
;
l
++
)
if
(
o
>
l
*
n
&&
o
<=
(
l
+
1
)
*
n
){
i
[
r
].
parentNode
.
className
=
t
[
l
];
break
}
$
(
"
#
"
+
e
).
html
(
$
(
"
#
"
+
e
+
"
li
"
).
get
().
sort
((
function
(
e
,
t
){
var
i
=
$
(
e
).
find
(
"
span
"
).
text
().
toLowerCase
(),
a
=
$
(
t
).
find
(
"
span
"
).
text
().
toLowerCase
();
return
i
.
localeCompare
(
a
)})))}};
\ No newline at end of file
\ No newline at end of file
src/main/resources/skins/9IPHP/article-list.ftl
View file @
b145ac62
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<span class="vditor-tooltipped vditor-tooltipped__n" aria-label="${commentCountLabel}">
<span class="vditor-tooltipped vditor-tooltipped__n" aria-label="${commentCountLabel}">
<i class="icon-comments"></i>
<i class="icon-comments"></i>
<a href="${servePath}${article.articlePermalink}#comments">
<a href="${servePath}${article.articlePermalink}#comments">
${article.articleCommentCount}
${commentLabel}</a>
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
${commentLabel}</a>
</span>
</span>
</#if>
</#if>
|
|
...
...
src/main/resources/skins/9IPHP/article.ftl
View file @
b145ac62
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<span
class=
"vditor-tooltipped vditor-tooltipped__n"
aria-label=
"${commentCountLabel}"
>
<span
class=
"vditor-tooltipped vditor-tooltipped__n"
aria-label=
"${commentCountLabel}"
>
<i
class=
"icon-comments"
></i>
<i
class=
"icon-comments"
></i>
<a
href=
"${servePath}${article.articlePermalink}#comments"
>
<a
href=
"${servePath}${article.articlePermalink}#comments"
>
${article.articleCommentCount}
${commentLabel}
</a>
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
${commentLabel}
</a>
</span>
</span>
</
#
if>
</
#
if>
|
|
...
...
src/main/resources/skins/9IPHP/side.ftl
View file @
b145ac62
...
@@ -88,9 +88,7 @@
...
@@ -88,9 +88,7 @@
<ul>
<ul>
<#list mostCommentArticles as article>
<#list mostCommentArticles as article>
<li>
<li>
<a rel="nofollow" aria-label="${article.articleCommentCount} ${commentLabel}"
<a rel="nofollow" href="${servePath}${article.articlePermalink}">
class="vditor-tooltipped vditor-tooltipped__e"
href="${servePath}${article.articlePermalink}">
${article.articleTitle}
${article.articleTitle}
</a>
</a>
</li>
</li>
...
@@ -107,9 +105,7 @@
...
@@ -107,9 +105,7 @@
<ul>
<ul>
<#list mostViewCountArticles as article>
<#list mostViewCountArticles as article>
<li>
<li>
<a rel="nofollow" aria-label="${article.articleCommentCount} ${commentLabel}"
<a rel="nofollow" href="${servePath}${article.articlePermalink}">
class="vditor-tooltipped vditor-tooltipped__e"
href="${servePath}${article.articlePermalink}">
${article.articleTitle}
${article.articleTitle}
</a>
</a>
</li>
</li>
...
...
src/main/resources/skins/Andrea/article-list.ftl
View file @
b145ac62
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<#if commentable>
<#if commentable>
|
|
<a rel="nofollow" class="underline" href="${servePath}${article.articlePermalink}#comments">
<a rel="nofollow" class="underline" href="${servePath}${article.articlePermalink}#comments">
${article.articleCommentCount}
${commentLabel}
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
${commentLabel}
</a>
</a>
</#if>
</#if>
</div>
</div>
...
...
src/main/resources/skins/Andrea/article.ftl
View file @
b145ac62
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<
#if
commentable
>
<
#if
commentable
>
|
|
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
>
${article.articleCommentCount}
${commentLabel}
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
${commentLabel}
</a>
</a>
</
#
if>
</
#
if>
</div>
</div>
...
...
src/main/resources/skins/Andrea/side.ftl
View file @
b145ac62
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
<li>
<li>
<a rel="nofollow" title="${article.articleTitle}"
<a rel="nofollow" title="${article.articleTitle}"
href="${servePath}${article.articlePermalink}">
href="${servePath}${article.articlePermalink}">
<sup>[
${article.articleCommentCount}
]</sup>
<sup>[
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
]</sup>
${article.articleTitle}
${article.articleTitle}
</a>
</a>
</li>
</li>
...
...
src/main/resources/skins/Bubble/article-list.ftl
View file @
b145ac62
...
@@ -54,10 +54,10 @@
...
@@ -54,10 +54,10 @@
${articleTag}
${articleTag}
</a>
</a>
</#list>
</#list>
<#if
article.articleCommentCount != 0 &&
commentable>
<#if commentable>
·
·
<a class="item__tag" href="${servePath}${article.articlePermalink}#comments">
<a class="item__tag" href="${servePath}${article.articlePermalink}#comments">
${article.articleCommentCount}
${commentLabel}
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
${commentLabel}
</a>
</a>
</#if>
</#if>
·
·
...
...
src/main/resources/skins/Casper/article-list.ftl
View file @
b145ac62
...
@@ -68,9 +68,9 @@
...
@@ -68,9 +68,9 @@
class="vditor-tooltipped vditor-tooltipped__n item__avatar">
class="vditor-tooltipped vditor-tooltipped__n item__avatar">
<img src="${article.authorThumbnailURL}" />
<img src="${article.authorThumbnailURL}" />
</a>
</a>
<#if
article.articleCommentCount != 0 &&
commentable>
<#if commentable>
<a class="item__meta" href="${servePath}${article.articlePermalink}#comments">
<a class="item__meta" href="${servePath}${article.articlePermalink}#comments">
<span data-uvstatcmt="${article.oId}">
${article.articleCommentCount}
</span> ${commentLabel}
<span data-uvstatcmt="${article.oId}">
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
</span> ${commentLabel}
</a>
</a>
<#else>
<#else>
<a class="item__meta" href="${servePath}${article.articlePermalink}">
<a class="item__meta" href="${servePath}${article.articlePermalink}">
...
...
src/main/resources/skins/Community/article-list.ftl
View file @
b145ac62
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<#if commentable>
<#if commentable>
<li>
<li>
<a rel="nofollow" title="${commentLabel}" href="${servePath}${article.articlePermalink}#comments">
<a rel="nofollow" title="${commentLabel}" href="${servePath}${article.articlePermalink}#comments">
${commentLabel} (
${article.articleCommentCount}
)
${commentLabel} (
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
)
</a>
</a>
</li>
</li>
</#if>
</#if>
...
...
src/main/resources/skins/Community/article.ftl
View file @
b145ac62
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
<
#if
commentable
>
<
#if
commentable
>
<li>
<li>
<a
rel=
"nofollow"
title=
"${commentLabel}"
href=
"${servePath}${article.articlePermalink}#comments"
>
<a
rel=
"nofollow"
title=
"${commentLabel}"
href=
"${servePath}${article.articlePermalink}#comments"
>
${commentLabel} (
${article.articleCommentCount}
)
${commentLabel} (
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
)
</a>
</a>
</li>
</li>
</
#
if>
</
#
if>
...
...
src/main/resources/skins/Community/side.ftl
View file @
b145ac62
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
<#list mostCommentArticles as article>
<#list mostCommentArticles as article>
<li>
<li>
<a rel="nofollow" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
<a rel="nofollow" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
<sup>[
${article.articleCommentCount}
]</sup>${article.articleTitle}
<sup>[
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
]</sup>${article.articleTitle}
</a>
</a>
</li>
</li>
</#list>
</#list>
...
...
src/main/resources/skins/Finding/css/base.css
View file @
b145ac62
This diff is collapsed.
Click to expand it.
src/main/resources/skins/Finding/css/base.scss
View file @
b145ac62
...
@@ -698,7 +698,7 @@ pre code, pre tt {
...
@@ -698,7 +698,7 @@ pre code, pre tt {
}
}
.nav
li
a
{
.nav
li
a
{
display
:
block
;
display
:
flex
;
padding
:
0
.6rem
4%
;
padding
:
0
.6rem
4%
;
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
...
...
src/main/resources/skins/Finding/dynamic.ftl
View file @
b145ac62
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
<a
href=
"${servePath}${article.articlePermalink}"
title=
"${article.articleTitle}"
rel=
"nofollow"
>
<a
href=
"${servePath}${article.articlePermalink}"
title=
"${article.articleTitle}"
rel=
"nofollow"
>
${article.articleTitle}
${article.articleTitle}
</a>
</a>
<span
data-ico=
""
>
<span
data-ico=
""
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
${article.articleCommentCount}
</span>
</span>
</li>
</li>
...
...
src/main/resources/skins/Jane/article-list.ftl
View file @
b145ac62
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
</span>
</span>
<div class="fn__right">
<div class="fn__right">
<#if commentable>
<#if commentable>
<a class="ft__red" href="${servePath}${article.articlePermalink}#comments"><
#if article.articleCommentCount gt 0>${article.articleCommentCount} </#if>
${commentLabel}</a>
<a class="ft__red" href="${servePath}${article.articlePermalink}#comments"><
span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
${commentLabel}</a>
•
•
</#if>
</#if>
<a class="ft__red" href="${servePath}${article.articlePermalink}"><span data-uvstaturl="${servePath}${article.articlePermalink}">${article.articleViewCount}</span> ${viewLabel}</a>
<a class="ft__red" href="${servePath}${article.articlePermalink}"><span data-uvstaturl="${servePath}${article.articlePermalink}">${article.articleViewCount}</span> ${viewLabel}</a>
...
...
src/main/resources/skins/Jane/article.ftl
View file @
b145ac62
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
</span>
</span>
<div
class=
"fn__right"
>
<div
class=
"fn__right"
>
<
#if
commentable
>
<
#if
commentable
>
<a
class=
"ft__red"
href=
"${servePath}${article.articlePermalink}#comments"
><
#if
article
.
articleCommentCount
gt
0
>
${article.articleCommentCount}
</
#
if>
${commentLabel}
</a>
<a
class=
"ft__red"
href=
"${servePath}${article.articlePermalink}#comments"
><
span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
${commentLabel}
</a>
•
•
</
#
if>
</
#
if>
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
${article.articleViewCount}
</span>
${viewLabel}
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
${article.articleViewCount}
</span>
${viewLabel}
...
...
src/main/resources/skins/Medium/article-list.ftl
View file @
b145ac62
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
</time> •
</time> •
<#if commentable>
<#if commentable>
<a href="${servePath}${article.articlePermalink}#comments" class="ft-gray">
<a href="${servePath}${article.articlePermalink}#comments" class="ft-gray">
${article.articleCommentCount}
${commentLabel}
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
${commentLabel}
</a> •
</a> •
</#if>
</#if>
<a href="${servePath}${article.articlePermalink}" class="ft-gray">
<a href="${servePath}${article.articlePermalink}" class="ft-gray">
...
...
src/main/resources/skins/Medium/article.ftl
View file @
b145ac62
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
<svg>
<svg>
<use
xlink:href=
"#icon-comment"
></use>
<use
xlink:href=
"#icon-comment"
></use>
</svg>
</svg>
${article.articleCommentCount}
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
</span>
</span>
<span
id=
"articleShare"
>
<span
id=
"articleShare"
>
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
<svg>
<svg>
<use
xlink:href=
"#icon-comment"
></use>
<use
xlink:href=
"#icon-comment"
></use>
</svg>
</svg>
${article.articleCommentCount}
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
</span>
</span>
<span
id=
"articleBottomShare"
>
<span
id=
"articleBottomShare"
>
<span
class=
"post__share-icon"
data-type=
"wechat"
>
<span
class=
"post__share-icon"
data-type=
"wechat"
>
...
@@ -175,7 +175,7 @@
...
@@ -175,7 +175,7 @@
<span
class=
"vditor-tooltipped vditor-tooltipped__e post__share-icon ft-green"
<span
class=
"vditor-tooltipped vditor-tooltipped__e post__share-icon ft-green"
onclick=
"$('#comment').focus()"
onclick=
"$('#comment').focus()"
aria-label=
"${commentLabel}"
>
aria-label=
"${commentLabel}"
>
<span
class=
"ft-gray"
>
${article.articleCommentCount}
</span>
<span
class=
"ft-gray"
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
<svg>
<svg>
<use
xlink:href=
"#icon-comment"
></use>
<use
xlink:href=
"#icon-comment"
></use>
</svg>
</svg>
...
...
src/main/resources/skins/NeoEase/article-list.ftl
View file @
b145ac62
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<div class="right article-element">
<div class="right article-element">
<#if commentable>
<#if commentable>
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments">
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments">
${article.articleCommentCount}
${commentLabel}
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
${commentLabel}
</a>
</a>
</#if>
</#if>
<a rel="nofollow" href="${servePath}${article.articlePermalink}">
<a rel="nofollow" href="${servePath}${article.articlePermalink}">
...
...
src/main/resources/skins/NeoEase/article.ftl
View file @
b145ac62
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<div
class=
"right article-element"
>
<div
class=
"right article-element"
>
<
#if
commentable
>
<
#if
commentable
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
>
${article.articleCommentCount}
${commentLabel}
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
${commentLabel}
</a>
</a>
</
#
if>
</
#
if>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}"
>
...
...
src/main/resources/skins/NeoEase/side.ftl
View file @
b145ac62
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
<ul class="side-li">
<ul class="side-li">
<#list mostCommentArticles as article>
<#list mostCommentArticles as article>
<li>
<li>
<sup>[
${article.articleCommentCount}
]</sup>
<sup>[
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
]</sup>
<a title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
<a title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
${article.articleTitle}
${article.articleTitle}
</a>
</a>
...
...
src/main/resources/skins/Pinghsu/article.ftl
View file @
b145ac62
...
@@ -64,9 +64,7 @@
...
@@ -64,9 +64,7 @@
</
#
if>
</
#
if>
with
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
${article.articleViewCount}
</span>
views
with
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
${article.articleViewCount}
</span>
views
<
#if
commentable
>
<
#if
commentable
>
<
#if
article
.
articleCommentCount
!=
0
>
and
<a
href=
"#comments"
><span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
comments
</a>
and
<a
href=
"#comments"
>
${article.articleCommentCount} comments
</a>
</
#
if>
</
#
if>
</
#
if>
</div>
</div>
<div
class=
"item__tags"
>
<div
class=
"item__tags"
>
...
...
src/main/resources/skins/favourite/article-list.ftl
View file @
b145ac62
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
<#if commentable>
<#if commentable>
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments" class="left">
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments" class="left">
<span class="left articles-commentIcon" title="${commentLabel}"></span>
<span class="left articles-commentIcon" title="${commentLabel}"></span>
<span class="count">${article.articleCommentCount}</span>
<span class="count"
data-uvstatcmt="${article.oId}"
>${article.articleCommentCount}</span>
</a>
</a>
</#if>
</#if>
<div class="right more">
<div class="right more">
...
...
src/main/resources/skins/favourite/article.ftl
View file @
b145ac62
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
</div>
</div>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
class=
"left"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
class=
"left"
>
<span
class=
"left articles-commentIcon"
title=
"${commentLabel}"
></span>
<span
class=
"left articles-commentIcon"
title=
"${commentLabel}"
></span>
<span
class=
"count"
>
${article.articleCommentCount}
</span>
<span
class=
"count"
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
</a>
</a>
<div
class=
"right"
>
<div
class=
"right"
>
<a
rel=
"nofollow"
href=
"#comments"
class=
"right"
>
<a
rel=
"nofollow"
href=
"#comments"
class=
"right"
>
...
...
src/main/resources/skins/favourite/side.ftl
View file @
b145ac62
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
<li>
<li>
<a rel="nofollow" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
<a rel="nofollow" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
${article.articleTitle}
${article.articleTitle}
</a>(
${article.articleCommentCount}
)
</a>(
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
)
</li>
</li>
</#list>
</#list>
</ul>
</ul>
...
...
src/main/resources/skins/i-nove/article-list.ftl
View file @
b145ac62
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<div class="right">
<div class="right">
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments" class="left">
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments" class="left">
<span class="left articles-commentIcon" title="${commentLabel}"></span>
<span class="left articles-commentIcon" title="${commentLabel}"></span>
${article.articleCommentCount}
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
</a>
</a>
</div>
</div>
</#if>
</#if>
...
...
src/main/resources/skins/i-nove/article.ftl
View file @
b145ac62
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<div
class=
"right"
>
<div
class=
"right"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
class=
"left"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
class=
"left"
>
<span
class=
"left articles-commentIcon"
title=
"${commentLabel}"
></span>
<span
class=
"left articles-commentIcon"
title=
"${commentLabel}"
></span>
${article.articleCommentCount}
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
</a>
</a>
</div>
</div>
</
#
if>
</
#
if>
...
...
src/main/resources/skins/i-nove/side.ftl
View file @
b145ac62
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
<li>
<li>
<a rel="nofollow" title="${article.articleTitle}"
<a rel="nofollow" title="${article.articleTitle}"
href="${servePath}${article.articlePermalink}">
href="${servePath}${article.articlePermalink}">
<sup>[
${article.articleCommentCount}
]</sup>
<sup>[
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
]</sup>
${article.articleTitle}
${article.articleTitle}
</a>
</a>
</li>
</li>
...
...
src/main/resources/skins/metro-hot/article-list.ftl
View file @
b145ac62
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
</div>
</div>
<div class="fn-right">
<div class="fn-right">
<#if commentable>
<#if commentable>
<a rel="nofollow" data-ico="" href="${servePath}${article.articlePermalink}#comments">
<a rel="nofollow" data-ico=""
data-uvstatcmt="${article.oId}"
href="${servePath}${article.articlePermalink}#comments">
${article.articleCommentCount}
${article.articleCommentCount}
</a>
</a>
</#if>
</#if>
...
...
src/main/resources/skins/metro-hot/article.ftl
View file @
b145ac62
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
<div
class=
"article-info"
>
<div
class=
"article-info"
>
<
#if
commentable
>
<
#if
commentable
>
<a
rel=
"nofollow"
data-ico=
""
href=
"${servePath}${article.articlePermalink}#comments"
>
<a
rel=
"nofollow"
data-ico=
""
href=
"${servePath}${article.articlePermalink}#comments"
>
${article.articleCommentCount}
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
</a>
</a>
</
#
if>
</
#
if>
<a
rel=
"nofollow"
data-ico=
""
href=
"${servePath}${article.articlePermalink}"
>
<a
rel=
"nofollow"
data-ico=
""
href=
"${servePath}${article.articlePermalink}"
>
...
...
src/main/resources/skins/metro-hot/dynamic.ftl
View file @
b145ac62
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
<a
href=
"${servePath}${article.articlePermalink}"
title=
"${article.articleTitle}"
rel=
"nofollow"
>
<a
href=
"${servePath}${article.articlePermalink}"
title=
"${article.articleTitle}"
rel=
"nofollow"
>
${article.articleTitle}
${article.articleTitle}
</a>
</a>
<span
data-ico=
""
>
<span
data-ico=
""
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
${article.articleCommentCount}
</span>
</span>
</li>
</li>
...
...
src/main/resources/skins/next/article-list.ftl
View file @
b145ac62
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<span>
<span>
|
|
<a href="${servePath}${article.articlePermalink}#comments">
<a href="${servePath}${article.articlePermalink}#comments">
${article.articleCommentCount}
${cmtLabel}</a>
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
${cmtLabel}</a>
</span>
</span>
</#if>
</#if>
| ${viewsLabel} <span data-uvstaturl="${servePath}${article.articlePermalink}">${article.articleViewCount}</span>°C
| ${viewsLabel} <span data-uvstaturl="${servePath}${article.articlePermalink}">${article.articleViewCount}</span>°C
...
...
src/main/resources/skins/next/article.ftl
View file @
b145ac62
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<span
class=
"post-comments-count"
>
<span
class=
"post-comments-count"
>
|
|
<a
href=
"${servePath}${article.articlePermalink}#comments"
>
<a
href=
"${servePath}${article.articlePermalink}#comments"
>
${article.articleCommentCount}
${cmtLabel}
</a>
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
${cmtLabel}
</a>
</span>
</span>
</
#
if>
</
#
if>
|
${viewsLabel}
|
${viewsLabel}
...
...
src/main/resources/skins/nijigen/article-list.ftl
View file @
b145ac62
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
</span>
</span>
<#if commentable>
<#if commentable>
<a class="tag" href="${servePath}${article.articlePermalink}#comments">
<a class="tag" href="${servePath}${article.articlePermalink}#comments">
<i class="icon__comments"></i>
${article.articleCommentCount}
${commentLabel}
<i class="icon__comments"></i>
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
${commentLabel}
</a>
</a>
</#if>
</#if>
<span class="tag">
<span class="tag">
...
...
src/main/resources/skins/nijigen/article.ftl
View file @
b145ac62
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
</span>
</span>
<
#if
commentable
>
<
#if
commentable
>
<a
class=
"tag"
href=
"${servePath}${article.articlePermalink}#comments"
>
<a
class=
"tag"
href=
"${servePath}${article.articlePermalink}#comments"
>
<i
class=
"icon__comments"
></i>
${article.articleCommentCount}
${commentLabel}
<i
class=
"icon__comments"
></i>
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
${commentLabel}
</a>
</a>
</
#
if>
</
#
if>
<span
class=
"tag"
>
<span
class=
"tag"
>
...
...
src/main/resources/skins/owmx-3.0/article-list.ftl
View file @
b145ac62
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</a><#if commentable> | ${commentCount1Label}
</a><#if commentable> | ${commentCount1Label}
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments">
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments">
<span class="left articles-commentIcon" title="${commentLabel}"></span>
<span class="left articles-commentIcon" title="${commentLabel}"></span>
${article.articleCommentCount}
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
</a>
</a>
</#if>
</#if>
</p>
</p>
...
...
src/main/resources/skins/owmx-3.0/article.ftl
View file @
b145ac62
...
@@ -64,7 +64,7 @@ ${topBarReplacement}
...
@@ -64,7 +64,7 @@ ${topBarReplacement}
<
#if
commentable
>
| ${commentCount1Label}
<
#if
commentable
>
| ${commentCount1Label}
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
>
<span
class=
"left articles-commentIcon"
title=
"${commentLabel}"
></span>
<span
class=
"left articles-commentIcon"
title=
"${commentLabel}"
></span>
${article.articleCommentCount}
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
</a>
</a>
</
#
if>
</
#
if>
</p>
</p>
...
...
src/main/resources/skins/owmx-3.0/side.ftl
View file @
b145ac62
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
<li>
<li>
<a rel="nofollow" title="${article.articleTitle}"
<a rel="nofollow" title="${article.articleTitle}"
href="${servePath}${article.articlePermalink}">
href="${servePath}${article.articlePermalink}">
<sup>[
${article.articleCommentCount}
]</sup>
<sup>[
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
]</sup>
${article.articleTitle}
${article.articleTitle}
</a>
</a>
</li>
</li>
...
...
src/main/resources/skins/timeline/article-list.ftl
View file @
b145ac62
...
@@ -58,11 +58,7 @@
...
@@ -58,11 +58,7 @@
</span>
</span>
<span class="ico-comment ico" title="${commentLabel}">
<span class="ico-comment ico" title="${commentLabel}">
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments">
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments">
<#if article.articleCommentCount == 0>
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
${noCommentLabel}
<#else>
${article.articleCommentCount}
</#if>
</a>
</a>
</span>
</span>
<span class="ico-view ico" title="${viewLabel}">
<span class="ico-view ico" title="${viewLabel}">
...
...
src/main/resources/skins/timeline/article.ftl
View file @
b145ac62
...
@@ -80,11 +80,7 @@ ${topBarReplacement}
...
@@ -80,11 +80,7 @@ ${topBarReplacement}
<
#if
commentable
>
<
#if
commentable
>
<span
class=
"ico-comment ico"
title=
"${commentLabel}"
>
<span
class=
"ico-comment ico"
title=
"${commentLabel}"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
>
<
#if
article.articleCommentCount =
=
0
>
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
${noCommentLabel}
<
#else
>
${article.articleCommentCount}
</
#
if>
</a>
</a>
</span>
</span>
</
#
if>
</
#
if>
...
...
src/main/resources/skins/timeline/dynamic.ftl
View file @
b145ac62
...
@@ -82,12 +82,8 @@
...
@@ -82,12 +82,8 @@
${article.articleTitle}
${article.articleTitle}
</a>
</a>
<span
class=
"ico ico-comment right"
title=
"${commentLabel}"
>
<span
class=
"ico ico-comment right"
title=
"${commentLabel}"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
data-uvstatcmt=
"${article.oId}"
>
<
#if
article.articleCommentCount =
=
0
>
${noCommentLabel}
<
#else
>
${article.articleCommentCount}
${article.articleCommentCount}
</
#
if>
</a>
</a>
</span>
</span>
</li>
</li>
...
...
src/main/resources/skins/timeline/index.ftl
View file @
b145ac62
...
@@ -93,12 +93,8 @@
...
@@ -93,12 +93,8 @@
</span>
</span>
<
#if
commentable
>
<
#if
commentable
>
<span
class=
"ico-comment ico"
title=
"${commentLabel}"
>
<span
class=
"ico-comment ico"
title=
"${commentLabel}"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
>
<a
rel=
"nofollow"
data-uvstatcmt=
"${article.oId} href="
${
servePath
}${
article
.
articlePermalink
}
#comments
"
>
<
#if
article.articleCommentCount =
=
0
>
${noCommentLabel}
<
#else
>
${article.articleCommentCount}
${article.articleCommentCount}
</
#
if>
</a>
</a>
</span>
</span>
</
#
if>
</
#
if>
...
...
src/main/resources/skins/timeline/js/timeline.js
View file @
b145ac62
...
@@ -307,7 +307,7 @@ var timeline = {
...
@@ -307,7 +307,7 @@ var timeline = {
+
'
<a rel="author" href="
'
+
Label
.
servePath
+
'
/authors/
'
+
article
.
authorId
+
'
">
'
+
'
<a rel="author" href="
'
+
Label
.
servePath
+
'
/authors/
'
+
article
.
authorId
+
'
">
'
+
article
.
authorName
+
'
</a></span> <span class="ico-comment ico" title="
'
+
article
.
authorName
+
'
</a></span> <span class="ico-comment ico" title="
'
+
Label
.
commentLabel
+
'
"><a rel="nofollow" href="
'
+
Label
.
servePath
+
article
.
articlePermalink
+
Label
.
commentLabel
+
'
"><a rel="nofollow" href="
'
+
Label
.
servePath
+
article
.
articlePermalink
+
'
#comments"
>
'
+
(
article
.
articleCommentCount
===
0
?
Label
.
noCommentLabel
:
article
.
articleCommentCount
)
+
'
#comments"
data-uvstatcmt="
'
+
article
.
oId
+
'
">
'
+
article
.
articleCommentCount
+
'
</a></span> <span class="ico-view ico" title="
'
+
Label
.
viewLabel
+
'
">
'
+
'
</a></span> <span class="ico-view ico" title="
'
+
Label
.
viewLabel
+
'
">
'
+
'
<a rel="nofollow" href="${servePath}${article.articlePermalink}">
'
+
'
<a rel="nofollow" href="${servePath}${article.articlePermalink}">
'
+
'
<span data-uvstaturl="
'
+
Label
.
servePath
+
article
.
articlePermalink
+
'
">
'
+
article
.
articleViewCount
+
'
</span>
'
+
'
<span data-uvstaturl="
'
+
Label
.
servePath
+
article
.
articlePermalink
+
'
">
'
+
article
.
articleViewCount
+
'
</span>
'
...
...
src/main/resources/skins/timeline/js/timeline.min.js
View file @
b145ac62
This diff is collapsed.
Click to expand it.
src/main/resources/skins/tree-house/article-list.ftl
View file @
b145ac62
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<#if commentable>
<#if commentable>
<div class="article-comment">
<div class="article-comment">
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments">
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments">
${commentLabel}(
${article.articleCommentCount}
)
${commentLabel}(
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
)
</a>
</a>
</div>
</div>
</#if>
</#if>
...
...
src/main/resources/skins/tree-house/article.ftl
View file @
b145ac62
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
<div
class=
"right"
>
<div
class=
"right"
>
<
#if
commentable
>
<
#if
commentable
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
class=
"left"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}#comments"
class=
"left"
>
${article.articleCommentCount}
${commentLabel}
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
${commentLabel}
</a>
</a>
</
#
if>
</
#
if>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}"
class=
"left"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}"
class=
"left"
>
...
...
src/main/resources/skins/tree-house/side.ftl
View file @
b145ac62
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<#list mostCommentArticles as article>
<#list mostCommentArticles as article>
<li>
<li>
<a rel="nofollow" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
<a rel="nofollow" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
<sup>[
${article.articleCommentCount}
]</sup>${article.articleTitle}
<sup>[
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
]</sup>${article.articleTitle}
</a>
</a>
</li>
</li>
</#list>
</#list>
...
...
src/main/resources/skins/yilia/article-list.ftl
View file @
b145ac62
...
@@ -59,15 +59,13 @@
...
@@ -59,15 +59,13 @@
</div>
</div>
<span> </span>
<span> </span>
<#if commentable>
<#if commentable>
<#if article.articleCommentCount != 0>
<a href="${servePath}${article.articlePermalink}#comments"
<a href="${servePath}${article.articlePermalink}#comments"
class="vditor-tooltipped__n vditor-tooltipped link fn__flex-center"
class="vditor-tooltipped__n vditor-tooltipped link fn__flex-center"
aria-label="${commentLabel}">
aria-label="${commentLabel}">
${article.articleCommentCount}
<span data-uvstatcmt="${article.oId}">${article.articleCommentCount}</span>
<span class="icon-chat"></span>
<span class="icon-chat"></span>
</a>
</a>
</#if>
</#if>
</#if>
<a class="vditor-tooltipped__n vditor-tooltipped link fn__flex-center"
<a class="vditor-tooltipped__n vditor-tooltipped link fn__flex-center"
href="${servePath}${article.articlePermalink}"
href="${servePath}${article.articlePermalink}"
aria-label="${viewLabel}">
aria-label="${viewLabel}">
...
...
src/main/resources/skins/yilia/article.ftl
View file @
b145ac62
...
@@ -62,15 +62,13 @@
...
@@ -62,15 +62,13 @@
</div>
</div>
<span>
</span>
<span>
</span>
<
#if
commentable
>
<
#if
commentable
>
<
#if
article
.
articleCommentCount
!=
0
>
<a
href=
"${servePath}${article.articlePermalink}#comments"
<a
href=
"${servePath}${article.articlePermalink}#comments"
class=
"vditor-tooltipped__n vditor-tooltipped link fn__flex-center"
class=
"vditor-tooltipped__n vditor-tooltipped link fn__flex-center"
aria-label=
"${commentLabel}"
>
aria-label=
"${commentLabel}"
>
${article.articleCommentCount}
<span
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
</span>
<span
class=
"icon-chat"
></span>
<span
class=
"icon-chat"
></span>
</a>
</a>
</
#
if>
</
#
if>
</
#
if>
<a
class=
"vditor-tooltipped__n vditor-tooltipped link fn__flex-center"
<a
class=
"vditor-tooltipped__n vditor-tooltipped link fn__flex-center"
href=
"${servePath}${article.articlePermalink}"
href=
"${servePath}${article.articlePermalink}"
aria-label=
"${viewLabel}"
>
aria-label=
"${viewLabel}"
>
...
...
src/main/resources/skins/yilia/dynamic.ftl
View file @
b145ac62
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
<a
href=
"${servePath}${article.articlePermalink}"
title=
"${article.articleTitle}"
rel=
"nofollow"
>
<a
href=
"${servePath}${article.articlePermalink}"
title=
"${article.articleTitle}"
rel=
"nofollow"
>
${article.articleTitle}
${article.articleTitle}
</a>
</a>
<span
data-ico=
""
>
<span
data-ico=
""
data-uvstatcmt=
"${article.oId}"
>
${article.articleCommentCount}
${article.articleCommentCount}
</span>
</span>
</li>
</li>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment