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
69af4e43
Unverified
Commit
69af4e43
authored
Jan 10, 2020
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
uvstat
parent
6f0f0487
Changes
45
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
74 additions
and
73 deletions
+74
-73
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/side.ftl
src/main/resources/skins/9IPHP/side.ftl
+2
-2
src/main/resources/skins/Andrea/side.ftl
src/main/resources/skins/Andrea/side.ftl
+3
-3
src/main/resources/skins/Bubble/article-list.ftl
src/main/resources/skins/Bubble/article-list.ftl
+2
-2
src/main/resources/skins/Bubble/macro-header.ftl
src/main/resources/skins/Bubble/macro-header.ftl
+2
-2
src/main/resources/skins/Casper/article-list.ftl
src/main/resources/skins/Casper/article-list.ftl
+1
-1
src/main/resources/skins/Casper/footer.ftl
src/main/resources/skins/Casper/footer.ftl
+1
-1
src/main/resources/skins/Community/article-list.ftl
src/main/resources/skins/Community/article-list.ftl
+1
-1
src/main/resources/skins/Community/footer.ftl
src/main/resources/skins/Community/footer.ftl
+1
-1
src/main/resources/skins/Community/side.ftl
src/main/resources/skins/Community/side.ftl
+3
-3
src/main/resources/skins/Finding/dynamic.ftl
src/main/resources/skins/Finding/dynamic.ftl
+2
-2
src/main/resources/skins/Finding/side.ftl
src/main/resources/skins/Finding/side.ftl
+3
-3
src/main/resources/skins/Jane/article-list.ftl
src/main/resources/skins/Jane/article-list.ftl
+2
-2
src/main/resources/skins/Medium/article-list.ftl
src/main/resources/skins/Medium/article-list.ftl
+2
-2
src/main/resources/skins/Medium/footer.ftl
src/main/resources/skins/Medium/footer.ftl
+1
-1
src/main/resources/skins/NeoEase/article-list.ftl
src/main/resources/skins/NeoEase/article-list.ftl
+1
-1
src/main/resources/skins/NeoEase/header.ftl
src/main/resources/skins/NeoEase/header.ftl
+1
-1
src/main/resources/skins/NeoEase/side.ftl
src/main/resources/skins/NeoEase/side.ftl
+1
-1
src/main/resources/skins/Pinghsu/footer.ftl
src/main/resources/skins/Pinghsu/footer.ftl
+1
-1
src/main/resources/skins/favourite/article-list.ftl
src/main/resources/skins/favourite/article-list.ftl
+1
-1
src/main/resources/skins/favourite/side.ftl
src/main/resources/skins/favourite/side.ftl
+2
-2
src/main/resources/skins/favourite/statistic.ftl
src/main/resources/skins/favourite/statistic.ftl
+2
-2
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/header.ftl
src/main/resources/skins/i-nove/header.ftl
+2
-2
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/dynamic.ftl
src/main/resources/skins/metro-hot/dynamic.ftl
+3
-3
src/main/resources/skins/metro-hot/macro-side.ftl
src/main/resources/skins/metro-hot/macro-side.ftl
+2
-2
src/main/resources/skins/next/article-list.ftl
src/main/resources/skins/next/article-list.ftl
+1
-1
src/main/resources/skins/next/side.ftl
src/main/resources/skins/next/side.ftl
+2
-2
src/main/resources/skins/nijigen/article-list.ftl
src/main/resources/skins/nijigen/article-list.ftl
+2
-2
src/main/resources/skins/nijigen/side.ftl
src/main/resources/skins/nijigen/side.ftl
+2
-2
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/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
+2
-2
src/main/resources/skins/timeline/dynamic.ftl
src/main/resources/skins/timeline/dynamic.ftl
+3
-3
src/main/resources/skins/timeline/footer.ftl
src/main/resources/skins/timeline/footer.ftl
+1
-1
src/main/resources/skins/timeline/index.ftl
src/main/resources/skins/timeline/index.ftl
+1
-1
src/main/resources/skins/timeline/js/timeline.js
src/main/resources/skins/timeline/js/timeline.js
+2
-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/side.ftl
src/main/resources/skins/tree-house/side.ftl
+3
-3
src/main/resources/skins/yilia/article-list.ftl
src/main/resources/skins/yilia/article-list.ftl
+1
-1
src/main/resources/skins/yilia/dynamic.ftl
src/main/resources/skins/yilia/dynamic.ftl
+2
-2
src/main/resources/skins/yilia/footer.ftl
src/main/resources/skins/yilia/footer.ftl
+1
-1
No files found.
src/main/resources/js/common.min.js
View file @
69af4e43
var
Util
=
{
uvstat
:
void
0
,
initViewCnt
:
function
(){
Util
.
uvstat
=
new
Uvstat
({
loading
:
"
<span>0</span>
"
}),
Util
.
uvstat
.
setStat
(),
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
.
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
n
=
document
.
createElement
(
"
script
"
);
n
.
id
=
t
,
n
.
type
=
"
text/javascript
"
,
n
.
text
=
i
.
responseText
,
document
.
getElementsByTagName
(
"
head
"
)[
0
].
appendChild
(
n
)}},
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.0.15/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
(),
n
=
parseInt
(
$
(
"
#
"
+
e
+
"
b
"
).
last
().
text
()),
a
=
Math
.
ceil
(
n
/
t
.
length
),
o
=
0
;
o
<
i
.
length
;
o
++
)
for
(
var
r
=
parseInt
(
i
[
o
].
innerHTML
),
l
=
0
;
l
<
t
.
length
;
l
++
)
if
(
r
>
l
*
a
&&
r
<=
(
l
+
1
)
*
a
){
i
[
o
].
parentNode
.
className
=
t
[
l
];
break
}
$
(
"
#
"
+
e
).
html
(
$
(
"
#
"
+
e
+
"
li
"
).
get
().
sort
((
function
(
e
,
t
){
var
i
=
$
(
e
).
find
(
"
span
"
).
text
().
toLowerCase
(),
n
=
$
(
t
).
find
(
"
span
"
).
text
().
toLowerCase
();
return
i
.
localeCompare
(
n
)})))}};
\ No newline at end of file
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
.
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
n
=
document
.
createElement
(
"
script
"
);
n
.
id
=
t
,
n
.
type
=
"
text/javascript
"
,
n
.
text
=
i
.
responseText
,
document
.
getElementsByTagName
(
"
head
"
)[
0
].
appendChild
(
n
)}},
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.0.15/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
(),
n
=
parseInt
(
$
(
"
#
"
+
e
+
"
b
"
).
last
().
text
()),
a
=
Math
.
ceil
(
n
/
t
.
length
),
r
=
0
;
r
<
i
.
length
;
r
++
)
for
(
var
o
=
parseInt
(
i
[
r
].
innerHTML
),
l
=
0
;
l
<
t
.
length
;
l
++
)
if
(
o
>
l
*
a
&&
o
<=
(
l
+
1
)
*
a
){
i
[
r
].
parentNode
.
className
=
t
[
l
];
break
}
$
(
"
#
"
+
e
).
html
(
$
(
"
#
"
+
e
+
"
li
"
).
get
().
sort
((
function
(
e
,
t
){
var
i
=
$
(
e
).
find
(
"
span
"
).
text
().
toLowerCase
(),
n
=
$
(
t
).
find
(
"
span
"
).
text
().
toLowerCase
();
return
i
.
localeCompare
(
n
)})))}};
\ No newline at end of file
src/main/resources/skins/9IPHP/article-list.ftl
View file @
69af4e43
...
...
@@ -58,7 +58,7 @@
|
<span class="vditor-tooltipped vditor-tooltipped__n" aria-label="${viewCountLabel}">
<i class="icon-views"></i>
<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span> ${viewLabel}
<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span> ${viewLabel}
</span>
</div>
</header>
...
...
src/main/resources/skins/9IPHP/side.ftl
View file @
69af4e43
...
...
@@ -75,7 +75,7 @@
${statistic.statisticPublishedBlogCommentCount}
<span class="ft-gray">${commentLabel}</span></a><br/>
</#if>
<span data-uvstaturl="${servePath}">
0
</span> <span class="ft-gray">${viewLabel}</span><br/>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span> <span class="ft-gray">${viewLabel}</span><br/>
${onlineVisitorCnt} <span class="ft-gray">${onlineVisitorLabel}</span>
</div>
</main>
...
...
@@ -120,4 +120,4 @@
</#if>
</section>
</#if>
</aside>
\ No newline at end of file
</aside>
src/main/resources/skins/Andrea/side.ftl
View file @
69af4e43
...
...
@@ -28,7 +28,7 @@
<li>
${viewCount1Label}
<span class='error-msg'>
<span data-uvstaturl="${servePath}">
0
</span>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span>
</span>
</li>
<li>
...
...
@@ -112,7 +112,7 @@
<li>
<a rel="nofollow" title="${article.articleTitle}"
href="${servePath}${article.articlePermalink}">
<sup>[<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>]</sup>
<sup>[<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>]</sup>
${article.articleTitle}
</a>
</li>
...
...
@@ -211,4 +211,4 @@
</dl>
</div>
</#if>
</#if>
\ No newline at end of file
</#if>
src/main/resources/skins/Bubble/article-list.ftl
View file @
69af4e43
...
...
@@ -62,7 +62,7 @@
</#if>
·
<a class="item__tag" href="${servePath}${article.articlePermalink}">
<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span> ${viewLabel}
<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span> ${viewLabel}
</a>
</div>
</article>
...
...
@@ -92,4 +92,4 @@
</#if>
</nav>
</#if>
</div>
\ No newline at end of file
</div>
src/main/resources/skins/Bubble/macro-header.ftl
View file @
69af4e43
...
...
@@ -57,7 +57,7 @@
<#if commentable>
${statistic.statisticPublishedBlogCommentCount} ${commentLabel} <br>
</#if>
<span data-uvstaturl="${servePath}">
0
</span> ${viewLabel} <br>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span> ${viewLabel} <br>
${onlineVisitorCnt} ${onlineVisitorLabel}
</div>
</div>
...
...
@@ -124,4 +124,4 @@
</ul>
</div>
</div>
</#macro>
\ No newline at end of file
</#macro>
src/main/resources/skins/Casper/article-list.ftl
View file @
69af4e43
...
...
@@ -74,7 +74,7 @@
</a>
<#else>
<a class="item__meta" href="${servePath}${article.articlePermalink}">
<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span> ${viewLabel}
<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span> ${viewLabel}
</a>
</#if>
</div>
...
...
src/main/resources/skins/Casper/footer.ftl
View file @
69af4e43
...
...
@@ -44,7 +44,7 @@
<br>
${statistic.statisticPublishedBlogArticleCount} ${articleLabel}
<#if commentable>${statistic.statisticPublishedBlogCommentCount} ${commentLabel} </#if>
<span data-uvstaturl="${servePath}">
0
</span> ${viewLabel}
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span> ${viewLabel}
${onlineVisitorCnt} ${onlineVisitorLabel}
</div>
</div>
...
...
src/main/resources/skins/Community/article-list.ftl
View file @
69af4e43
...
...
@@ -38,7 +38,7 @@
</li>
<li>
<a rel="nofollow" href="${servePath}${article.articlePermalink}" title="${viewLabel}">
${viewLabel} (<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>)
${viewLabel} (<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>)
</a>
</li>
<#if commentable>
...
...
src/main/resources/skins/Community/footer.ftl
View file @
69af4e43
...
...
@@ -32,7 +32,7 @@
<div class="right">
${viewCount1Label}
<span class='error-msg'>
<span data-uvstaturl="${servePath}">
0
</span>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span>
</span>
${articleCount1Label}
...
...
src/main/resources/skins/Community/side.ftl
View file @
69af4e43
...
...
@@ -50,7 +50,7 @@
<#list mostViewCountArticles as article>
<li>
<a rel="nofollow" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
<sup>[<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>]</sup>${article.articleTitle}
<sup>[<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>]</sup>${article.articleTitle}
</a>
</li>
</#list>
...
...
@@ -141,8 +141,8 @@
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">
${link.linkTitle}
</a>
<img onclick="window.location='${link.linkAddress}'"
alt="${link.linkTitle}"
<img onclick="window.location='${link.linkAddress}'"
alt="${link.linkTitle}"
src="${faviconAPI}<#list link.linkAddress?split('/') as x><#if x_index=2>${x}<#break></#if></#list>" width="16" height="16" />
</li>
</#list>
...
...
src/main/resources/skins/Finding/dynamic.ftl
View file @
69af4e43
...
...
@@ -49,7 +49,7 @@
<
#else
>
<a
href=
"${comment.commentURL}"
target=
"_blank"
>
${comment.commentName}
</a>
</
#
if>
<time>
${comment.commentDate?string("yy-MM-dd HH")}
</time>
<time>
${comment.commentDate?string("yy-MM-dd HH")}
</time>
</span>
<a
class=
"fn-right"
href=
"${servePath}${comment.commentSharpURL}"
>
${viewLabel}»
</a>
</div>
...
...
@@ -96,7 +96,7 @@
${article.articleTitle}
</a>
<span
data-ico=
""
>
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
0
</span>
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
${article.articleViewCount}
</span>
</span>
</li>
</
#
list>
...
...
src/main/resources/skins/Finding/side.ftl
View file @
69af4e43
...
...
@@ -22,7 +22,7 @@
<span class="fn-right">
<#if isLoggedIn>
<a href="${servePath}/admin-index.do#main" title="${adminLabel}" class="icon-setting"></a>
<a title="${logoutLabel}" class="icon-logout" href="${logoutURL}"></a>
<#else>
<a href="${servePath}/start" title="${startToUseLabel}" class="icon-login"></a>
...
...
@@ -74,7 +74,7 @@
</div>
<span>
${viewCount1Label}
<span data-uvstaturl="${servePath}">
0
</span>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span>
</span>
<span>
${articleCount1Label}
...
...
@@ -90,4 +90,4 @@
${onlineVisitor1Label}
${onlineVisitorCnt}
</span>
</div>
\ No newline at end of file
</div>
src/main/resources/skins/Jane/article-list.ftl
View file @
69af4e43
...
...
@@ -52,7 +52,7 @@
<a class="ft__red" href="${servePath}${article.articlePermalink}#comments"><#if article.articleCommentCount gt 0>${article.articleCommentCount} </#if>${commentLabel}</a>
•
</#if>
<a class="ft__red" href="${servePath}${article.articlePermalink}"><span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span> ${viewLabel}</a>
<a class="ft__red" href="${servePath}${article.articlePermalink}"><span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span> ${viewLabel}</a>
</div>
</div>
<div class="vditor-reset article__content">
...
...
@@ -93,4 +93,4 @@
<a href="${servePath}${path}${pagingSep}${paginationNextPageNum}" class="pagination__item fn__flex-center">Next »</a>
</#if>
</nav>
</#if>
\ No newline at end of file
</#if>
src/main/resources/skins/Medium/article-list.ftl
View file @
69af4e43
...
...
@@ -61,7 +61,7 @@
</a> •
</#if>
<a href="${servePath}${article.articlePermalink}" class="ft-gray">
<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span> ${viewLabel}
<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span> ${viewLabel}
</a>
</div>
</header>
...
...
@@ -89,4 +89,4 @@
<a href="${servePath}${path}${pagingSep}${paginationNextPageNum}" class="pagination__item">»</a>
</#if>
</nav>
</#if>
\ No newline at end of file
</#if>
src/main/resources/skins/Medium/footer.ftl
View file @
69af4e43
...
...
@@ -32,7 +32,7 @@
<div class="fn-clear">
${statistic.statisticPublishedBlogArticleCount} ${articleLabel}
<#if commentable>${statistic.statisticPublishedBlogCommentCount} ${commentLabel} </#if>
<span data-uvstaturl="${servePath}">
0
</span> ${viewLabel}
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span> ${viewLabel}
${onlineVisitorCnt} ${onlineVisitorLabel}
<div class="fn-right">
Powered by <a href="https://solo.b3log.org" target="_blank">Solo</a> •
...
...
src/main/resources/skins/NeoEase/article-list.ftl
View file @
69af4e43
...
...
@@ -59,7 +59,7 @@
</a>
</#if>
<a rel="nofollow" href="${servePath}${article.articlePermalink}">
<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span> ${viewLabel}
<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span> ${viewLabel}
</a>
</div>
<div class="clear"></div>
...
...
src/main/resources/skins/NeoEase/header.ftl
View file @
69af4e43
...
...
@@ -61,7 +61,7 @@
<div class="right">
${viewCount1Label}
<span class="tip">
<span data-uvstaturl="${servePath}">
0
</span>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span>
</span>
${articleCount1Label}
...
...
src/main/resources/skins/NeoEase/side.ftl
View file @
69af4e43
...
...
@@ -88,7 +88,7 @@
<ul class="side-li">
<#list mostViewCountArticles as article>
<li>
<sup>[<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>]</sup>
<sup>[<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>]</sup>
<a title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
${article.articleTitle}
</a>
...
...
src/main/resources/skins/Pinghsu/footer.ftl
View file @
69af4e43
...
...
@@ -69,7 +69,7 @@
<#if commentable>
${statistic.statisticPublishedBlogCommentCount}
${commentLabel}</#if> <br>
<span data-uvstaturl="${servePath}">
0
</span> <span class="ft-gray">${viewLabel}</span>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span> <span class="ft-gray">${viewLabel}</span>
${onlineVisitorCnt} <span class="ft-gray">${onlineVisitorLabel}</span> <br>
© ${year}
<a class="ft__link" href="${servePath}">${blogTitle}</a>
...
...
src/main/resources/skins/favourite/article-list.ftl
View file @
69af4e43
...
...
@@ -56,7 +56,7 @@
<div class="margin25">
<a rel="nofollow" href="${servePath}${article.articlePermalink}" class="left">
<span class="left article-browserIcon" title="${viewLabel}"></span>
<span class="count"><span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span></span>
<span class="count"><span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span></span>
</a>
<div class="left">
<span class="tagsIcon" title="${tagLabel}"></span>
...
...
src/main/resources/skins/favourite/side.ftl
View file @
69af4e43
...
...
@@ -101,7 +101,7 @@
<li>
<a rel="nofollow" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
${article.articleTitle}
</a>(<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>)
</a>(<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>)
</li>
</#list>
</ul>
...
...
@@ -211,4 +211,4 @@
</#if>
</#if>
<div class="rings" style="bottom: 0px;"></div>
</div>
\ No newline at end of file
</div>
src/main/resources/skins/favourite/statistic.ftl
View file @
69af4e43
...
...
@@ -21,7 +21,7 @@
<span>
${viewCount1Label}
<span class='error-msg'>
<span data-uvstaturl="${servePath}">
0
</span>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span>
</span>
</span>
...
...
@@ -41,4 +41,4 @@
</span>
</#if>
</div>
<div class="clear"></div>
\ No newline at end of file
<div class="clear"></div>
src/main/resources/skins/i-nove/article-list.ftl
View file @
69af4e43
...
...
@@ -64,7 +64,7 @@
<div class="article-footer">
<a rel="nofollow" href="${servePath}${article.articlePermalink}" class="left">
<span class="left article-browserIcon" title="${viewLabel}"></span>
<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>
<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>
</a>
<div class="left">
<span class="tagsIcon" title="${tagLabel}"></span>
...
...
src/main/resources/skins/i-nove/header.ftl
View file @
69af4e43
...
...
@@ -63,7 +63,7 @@
<span>
${viewCount1Label}
<span class='error-msg'>
<span data-uvstaturl="${servePath}">
0
</span>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span>
</span>
</span>
...
...
@@ -84,4 +84,4 @@
</#if>
</div>
<div class="clear"></div>
</div>
\ No newline at end of file
</div>
src/main/resources/skins/i-nove/side.ftl
View file @
69af4e43
...
...
@@ -89,7 +89,7 @@
<li>
<a rel="nofollow" title="${article.articleTitle}"
href="${servePath}${article.articlePermalink}">
<sup>[<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>]</sup>
<sup>[<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>]</sup>
${article.articleTitle}
</a>
</li>
...
...
src/main/resources/skins/metro-hot/article-list.ftl
View file @
69af4e43
...
...
@@ -33,7 +33,7 @@
</a>
</#if>
<a rel="nofollow" data-ico="" href="${servePath}${article.articlePermalink}">
<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>
<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>
</a>
<a rel="nofollow" data-ico="`" href="${servePath}/authors/${article.authorId}">
${article.authorName}
...
...
src/main/resources/skins/metro-hot/dynamic.ftl
View file @
69af4e43
...
...
@@ -97,7 +97,7 @@
<span
data-ico=
""
></span>
<div
class=
"text"
>
${viewCount1Label}
<span
data-uvstaturl=
"${servePath}"
>
0
</span><br/>
<span
data-uvstaturl=
"${servePath}"
>
${statistic.statisticBlogViewCount}
</span><br/>
${articleCount1Label}
${statistic.statisticPublishedBlogArticleCount}
<br/>
${commentCount1Label}
...
...
@@ -153,7 +153,7 @@
${article.articleTitle}
</a>
<span
data-ico=
""
>
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
0
</span>
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
${article.articleViewCount}
</span>
</span>
</li>
</
#
list>
...
...
@@ -192,7 +192,7 @@
</div>
<div
class=
"text fn-right"
>
<
#list
mostUsedTags
as
tag
>
<a
rel=
"tag"
href=
"${servePath}/tags/${tag.tagTitle?url('UTF-8')}"
<a
rel=
"tag"
href=
"${servePath}/tags/${tag.tagTitle?url('UTF-8')}"
title=
"${tag.tagTitle}(${tag.tagPublishedRefCount})"
>
${tag.tagTitle}
</a>
...
...
src/main/resources/skins/metro-hot/macro-side.ftl
View file @
69af4e43
...
...
@@ -41,7 +41,7 @@
<span data-ico=""></span>
<div class="text">
${viewCount1Label}
<span data-uvstaturl="${servePath}">
0
</span><br/>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span><br/>
${articleCount1Label}
${statistic.statisticPublishedBlogArticleCount}<br/>
<#if commentable>
...
...
@@ -205,4 +205,4 @@
</#if>
</div>
</div>
</#macro>
\ No newline at end of file
</#macro>
src/main/resources/skins/next/article-list.ftl
View file @
69af4e43
...
...
@@ -57,7 +57,7 @@
${article.articleCommentCount} ${cmtLabel}</a>
</span>
</#if>
| ${viewsLabel} <span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>°C
| ${viewsLabel} <span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>°C
</div>
</header>
<div class="vditor-reset">
...
...
src/main/resources/skins/next/side.ftl
View file @
69af4e43
...
...
@@ -42,7 +42,7 @@
</div>
<div class="site-state-item site-state-categories">
<span class="site-state-item-count"><span data-uvstaturl="${servePath}">
0
</span></span>
<span class="site-state-item-count"><span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span></span>
<span class="site-state-item-name">${viewLabel}</span>
</div>
...
...
@@ -118,4 +118,4 @@
</#if>
</section>
</#if>
</aside>
\ No newline at end of file
</aside>
src/main/resources/skins/nijigen/article-list.ftl
View file @
69af4e43
...
...
@@ -63,7 +63,7 @@
</#if>
<span class="tag">
<i class="icon__views"></i>
<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span> ${viewLabel}
<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span> ${viewLabel}
</span>
</div>
...
...
@@ -97,4 +97,4 @@
</nav>
</div>
</#if>
</div>
\ No newline at end of file
</div>
src/main/resources/skins/nijigen/side.ftl
View file @
69af4e43
...
...
@@ -140,7 +140,7 @@
<br/>
<div class="fn__flex">
<div class="fn__flex-1 ft__center">
<span data-uvstaturl="${servePath}">
0
</span> <span class="ft-gray">${viewLabel}</span>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span> <span class="ft-gray">${viewLabel}</span>
</div>
<div class="fn__flex-1 ft__center">
${onlineVisitorCnt} <span class="ft-gray">${onlineVisitorLabel}</span>
...
...
@@ -148,4 +148,4 @@
</div>
</div>
</div>
</aside>
\ No newline at end of file
</aside>
src/main/resources/skins/owmx-3.0/article-list.ftl
View file @
69af4e43
...
...
@@ -46,7 +46,7 @@
</#if> ${article.articleUpdateDate?string("yyyy-MM-dd HH:mm")} |
${viewCount1Label}
<a rel="nofollow" href="${servePath}${article.articlePermalink}">
<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>
<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>
</a><#if commentable> | ${commentCount1Label}
<a rel="nofollow" href="${servePath}${article.articlePermalink}#comments">
<span class="left articles-commentIcon" title="${commentLabel}"></span>
...
...
src/main/resources/skins/owmx-3.0/side.ftl
View file @
69af4e43
...
...
@@ -113,7 +113,7 @@
<li>
<a rel="nofollow" title="${article.articleTitle}"
href="${servePath}${article.articlePermalink}">
<sup>[<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>]</sup>
<sup>[<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>]</sup>
${article.articleTitle}
</a>
</li>
...
...
src/main/resources/skins/timeline/article-list.ftl
View file @
69af4e43
...
...
@@ -67,7 +67,7 @@
</span>
<span class="ico-view ico" title="${viewLabel}">
<a rel="nofollow" href="${servePath}${article.articlePermalink}">
<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>
<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>
</a>
</span>
</div>
...
...
@@ -77,4 +77,4 @@
<div class="article-more" onclick="timeline.getNextPage(this)" data-page="${paginationCurrentPageNum}">${moreLabel}</div>
</#if>
</div>
</div>
\ No newline at end of file
</div>
src/main/resources/skins/timeline/dynamic.ftl
View file @
69af4e43
...
...
@@ -77,7 +77,7 @@
<ul
class=
"list"
>
<
#list
mostCommentArticles
as
article
>
<li
class=
"fn-clear"
>
<a
class=
"left"
rel=
"nofollow"
title=
"${article.articleTitle}"
<a
class=
"left"
rel=
"nofollow"
title=
"${article.articleTitle}"
href=
"${servePath}${article.articlePermalink}"
>
${article.articleTitle}
</a>
...
...
@@ -106,7 +106,7 @@
</a>
<span
class=
"ico ico-view right"
title=
"${viewLabel}"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}"
>
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
0
</span>
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
${article.articleViewCount}
</span>
</a>
</span>
</li>
...
...
@@ -118,7 +118,7 @@
<div
class=
"module tags"
>
<h3
class=
"title"
>
${popTagsLabel}
</h3>
<
#list
mostUsedTags
as
tag
>
<a
rel=
"tag"
href=
"${servePath}/tags/${tag.tagTitle?url('UTF-8')}"
<a
rel=
"tag"
href=
"${servePath}/tags/${tag.tagTitle?url('UTF-8')}"
title=
"${tag.tagTitle}(${tag.tagPublishedRefCount})"
>
${tag.tagTitle}
</a>
...
...
src/main/resources/skins/timeline/footer.ftl
View file @
69af4e43
...
...
@@ -34,7 +34,7 @@
<span class="left">
<span>
${viewCount1Label}
<span data-uvstaturl="${servePath}">
0
</span>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span>
</span>
<span>
...
...
src/main/resources/skins/timeline/index.ftl
View file @
69af4e43
...
...
@@ -104,7 +104,7 @@
</
#
if>
<span
class=
"ico-view ico"
title=
"${viewLabel}"
>
<a
rel=
"nofollow"
href=
"${servePath}${article.articlePermalink}"
>
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
0
</span>
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
${article.articleViewCount}
</span>
</a>
</span>
</div>
...
...
src/main/resources/skins/timeline/js/timeline.js
View file @
69af4e43
...
...
@@ -309,7 +309,8 @@ var timeline = {
+
Label
.
commentLabel
+
'
"><a rel="nofollow" href="
'
+
Label
.
servePath
+
article
.
articlePermalink
+
'
#comments">
'
+
(
article
.
articleCommentCount
===
0
?
Label
.
noCommentLabel
:
article
.
articleCommentCount
)
+
'
</a></span> <span class="ico-view ico" title="
'
+
Label
.
viewLabel
+
'
">
'
+
'
<a rel="nofollow" href="${servePath}${article.articlePermalink}"><span data-uvstaturl="
'
+
Label
.
servePath
+
article
.
articlePermalink
+
'
">0</span>
'
+
'
<a rel="nofollow" href="${servePath}${article.articlePermalink}">
'
+
'
<span data-uvstaturl="
'
+
Label
.
servePath
+
article
.
articlePermalink
+
'
">
'
+
article
.
articleViewCount
+
'
</span>
'
+
'
</a></span></div></article>
'
;
}
...
...
src/main/resources/skins/timeline/js/timeline.min.js
View file @
69af4e43
This diff is collapsed.
Click to expand it.
src/main/resources/skins/tree-house/side.ftl
View file @
69af4e43
...
...
@@ -22,7 +22,7 @@
<div>
${viewCount1Label}
<span class='error-msg'>
<span data-uvstaturl="${servePath}">
0
</span>
<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span>
</span>
</div>
<div>
...
...
@@ -96,7 +96,7 @@
<#list mostViewCountArticles as article>
<li>
<a rel="nofollow" title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
<sup>[<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>]</sup>${article.articleTitle}
<sup>[<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>]</sup>${article.articleTitle}
</a>
</li>
</#list>
...
...
@@ -148,7 +148,7 @@
${link.linkTitle}
</a>
<img onclick="window.location='${link.linkAddress}'"
alt="${link.linkTitle}"
alt="${link.linkTitle}"
src="${faviconAPI}<#list link.linkAddress?split('/') as x><#if x_index=2>${x}<#break></#if></#list>" width="16" height="16" />
</li>
</#list>
...
...
src/main/resources/skins/yilia/article-list.ftl
View file @
69af4e43
...
...
@@ -71,7 +71,7 @@
<a class="vditor-tooltipped__n vditor-tooltipped link fn__flex-center"
href="${servePath}${article.articlePermalink}"
aria-label="${viewLabel}">
<span data-uvstaturl="${servePath}${article.articlePermalink}">
0
</span>
<span data-uvstaturl="${servePath}${article.articlePermalink}">
${article.articleViewCount}
</span>
<span class="icon-views"></span>
</a>
<a rel="nofollow" href="${servePath}/authors/${article.authorId}" class="fn__flex-center">
...
...
src/main/resources/skins/yilia/dynamic.ftl
View file @
69af4e43
...
...
@@ -43,7 +43,7 @@
<
#else
>
<a
href=
"${comment.commentURL}"
target=
"_blank"
>
${comment.commentName}
</a>
</
#
if>
<time>
${comment.commentDate?string("yy-MM-dd HH")}
</time>
<time>
${comment.commentDate?string("yy-MM-dd HH")}
</time>
</span>
<a
class=
"fn-right"
href=
"${servePath}${comment.commentSharpURL}"
>
${viewLabel}»
</a>
</div>
...
...
@@ -95,7 +95,7 @@
${article.articleTitle}
</a>
<span
data-ico=
""
>
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
0
</span>
<span
data-uvstaturl=
"${servePath}${article.articlePermalink}"
>
${article.articleViewCount}
</span>
</span>
</li>
</
#
list>
...
...
src/main/resources/skins/yilia/footer.ftl
View file @
69af4e43
...
...
@@ -25,7 +25,7 @@
<a rel="friend" href="http://vanessa.b3log.org" target="_blank">Vanessa</a>
</div>
<span class="fn-right">
${viewCount1Label}<span data-uvstaturl="${servePath}">
0
</span>
${viewCount1Label}<span data-uvstaturl="${servePath}">
${statistic.statisticBlogViewCount}
</span>
${articleCount1Label}${statistic.statisticPublishedBlogArticleCount}
<#if commentable>
...
...
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