Commit 69af4e43 authored by Van's avatar Van

uvstat

parent 6f0f0487
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)})))}}; 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 \ No newline at end of file
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
&nbsp; | &nbsp; &nbsp; | &nbsp;
<span class="vditor-tooltipped vditor-tooltipped__n" aria-label="${viewCountLabel}"> <span class="vditor-tooltipped vditor-tooltipped__n" aria-label="${viewCountLabel}">
<i class="icon-views"></i> <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> </span>
</div> </div>
</header> </header>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
${statistic.statisticPublishedBlogCommentCount} ${statistic.statisticPublishedBlogCommentCount}
<span class="ft-gray">${commentLabel}</span></a><br/> <span class="ft-gray">${commentLabel}</span></a><br/>
</#if> </#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> ${onlineVisitorCnt} <span class="ft-gray">${onlineVisitorLabel}</span>
</div> </div>
</main> </main>
...@@ -120,4 +120,4 @@ ...@@ -120,4 +120,4 @@
</#if> </#if>
</section> </section>
</#if> </#if>
</aside> </aside>
\ No newline at end of file
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<li> <li>
${viewCount1Label} ${viewCount1Label}
<span class='error-msg'> <span class='error-msg'>
<span data-uvstaturl="${servePath}">0</span> <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span>
</span> </span>
</li> </li>
<li> <li>
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
<li> <li>
<a rel="nofollow" title="${article.articleTitle}" <a rel="nofollow" title="${article.articleTitle}"
href="${servePath}${article.articlePermalink}"> 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} ${article.articleTitle}
</a> </a>
</li> </li>
...@@ -211,4 +211,4 @@ ...@@ -211,4 +211,4 @@
</dl> </dl>
</div> </div>
</#if> </#if>
</#if> </#if>
\ No newline at end of file
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</#if> </#if>
&nbsp;·&nbsp; &nbsp;·&nbsp;
<a class="item__tag" href="${servePath}${article.articlePermalink}"> <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> </a>
</div> </div>
</article> </article>
...@@ -92,4 +92,4 @@ ...@@ -92,4 +92,4 @@
</#if> </#if>
</nav> </nav>
</#if> </#if>
</div> </div>
\ No newline at end of file
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<#if commentable> <#if commentable>
${statistic.statisticPublishedBlogCommentCount} ${commentLabel} <br> ${statistic.statisticPublishedBlogCommentCount} ${commentLabel} <br>
</#if> </#if>
<span data-uvstaturl="${servePath}">0</span> ${viewLabel} <br> <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span> ${viewLabel} <br>
${onlineVisitorCnt} ${onlineVisitorLabel} ${onlineVisitorCnt} ${onlineVisitorLabel}
</div> </div>
</div> </div>
...@@ -124,4 +124,4 @@ ...@@ -124,4 +124,4 @@
</ul> </ul>
</div> </div>
</div> </div>
</#macro> </#macro>
\ No newline at end of file
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</a> </a>
<#else> <#else>
<a class="item__meta" href="${servePath}${article.articlePermalink}"> <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> </a>
</#if> </#if>
</div> </div>
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<br> <br>
${statistic.statisticPublishedBlogArticleCount} ${articleLabel} &nbsp; ${statistic.statisticPublishedBlogArticleCount} ${articleLabel} &nbsp;
<#if commentable>${statistic.statisticPublishedBlogCommentCount} ${commentLabel} &nbsp;</#if> <#if commentable>${statistic.statisticPublishedBlogCommentCount} ${commentLabel} &nbsp;</#if>
<span data-uvstaturl="${servePath}">0</span> ${viewLabel} &nbsp; <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span> ${viewLabel} &nbsp;
${onlineVisitorCnt} ${onlineVisitorLabel} ${onlineVisitorCnt} ${onlineVisitorLabel}
</div> </div>
</div> </div>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</li> </li>
<li> <li>
<a rel="nofollow" href="${servePath}${article.articlePermalink}" title="${viewLabel}"> <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> </a>
</li> </li>
<#if commentable> <#if commentable>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div class="right"> <div class="right">
${viewCount1Label} ${viewCount1Label}
<span class='error-msg'> <span class='error-msg'>
<span data-uvstaturl="${servePath}">0</span> <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span>
</span> </span>
&nbsp;&nbsp; &nbsp;&nbsp;
${articleCount1Label} ${articleCount1Label}
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<#list mostViewCountArticles as article> <#list mostViewCountArticles 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>[<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> </a>
</li> </li>
</#list> </#list>
...@@ -141,8 +141,8 @@ ...@@ -141,8 +141,8 @@
<a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank"> <a rel="friend" href="${link.linkAddress}" title="${link.linkTitle}" target="_blank">
${link.linkTitle} ${link.linkTitle}
</a> </a>
<img onclick="window.location='${link.linkAddress}'" <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" /> src="${faviconAPI}<#list link.linkAddress?split('/') as x><#if x_index=2>${x}<#break></#if></#list>" width="16" height="16" />
</li> </li>
</#list> </#list>
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<#else> <#else>
<a href="${comment.commentURL}" target="_blank">${comment.commentName}</a> <a href="${comment.commentURL}" target="_blank">${comment.commentName}</a>
</#if> </#if>
<time>${comment.commentDate?string("yy-MM-dd HH")}</time> <time>${comment.commentDate?string("yy-MM-dd HH")}</time>
</span> </span>
<a class="fn-right" href="${servePath}${comment.commentSharpURL}">${viewLabel}»</a> <a class="fn-right" href="${servePath}${comment.commentSharpURL}">${viewLabel}»</a>
</div> </div>
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
${article.articleTitle} ${article.articleTitle}
</a> </a>
<span data-ico="&#xe185;"> <span data-ico="&#xe185;">
<span data-uvstaturl="${servePath}${article.articlePermalink}">0</span> <span data-uvstaturl="${servePath}${article.articlePermalink}">${article.articleViewCount}</span>
</span> </span>
</li> </li>
</#list> </#list>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<span class="fn-right"> <span class="fn-right">
<#if isLoggedIn> <#if isLoggedIn>
<a href="${servePath}/admin-index.do#main" title="${adminLabel}" class="icon-setting"></a> <a href="${servePath}/admin-index.do#main" title="${adminLabel}" class="icon-setting"></a>
&nbsp; &nbsp;
<a title="${logoutLabel}" class="icon-logout" href="${logoutURL}"></a> <a title="${logoutLabel}" class="icon-logout" href="${logoutURL}"></a>
<#else> <#else>
<a href="${servePath}/start" title="${startToUseLabel}" class="icon-login"></a> <a href="${servePath}/start" title="${startToUseLabel}" class="icon-login"></a>
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</div> </div>
<span> <span>
${viewCount1Label} ${viewCount1Label}
<span data-uvstaturl="${servePath}">0</span> <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span>
</span> &nbsp; &nbsp; </span> &nbsp; &nbsp;
<span> <span>
${articleCount1Label} ${articleCount1Label}
...@@ -90,4 +90,4 @@ ...@@ -90,4 +90,4 @@
${onlineVisitor1Label} ${onlineVisitor1Label}
${onlineVisitorCnt} ${onlineVisitorCnt}
</span> </span>
</div> </div>
\ No newline at end of file
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<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"><#if article.articleCommentCount gt 0>${article.articleCommentCount} </#if>${commentLabel}</a>
</#if> </#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> </div>
<div class="vditor-reset article__content"> <div class="vditor-reset article__content">
...@@ -93,4 +93,4 @@ ...@@ -93,4 +93,4 @@
<a href="${servePath}${path}${pagingSep}${paginationNextPageNum}" class="pagination__item fn__flex-center">Next &raquo;</a> <a href="${servePath}${path}${pagingSep}${paginationNextPageNum}" class="pagination__item fn__flex-center">Next &raquo;</a>
</#if> </#if>
</nav> </nav>
</#if> </#if>
\ No newline at end of file
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
</a> &nbsp;•&nbsp; </a> &nbsp;•&nbsp;
</#if> </#if>
<a href="${servePath}${article.articlePermalink}" class="ft-gray"> <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> </a>
</div> </div>
</header> </header>
...@@ -89,4 +89,4 @@ ...@@ -89,4 +89,4 @@
<a href="${servePath}${path}${pagingSep}${paginationNextPageNum}" class="pagination__item">&raquo;</a> <a href="${servePath}${path}${pagingSep}${paginationNextPageNum}" class="pagination__item">&raquo;</a>
</#if> </#if>
</nav> </nav>
</#if> </#if>
\ No newline at end of file
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div class="fn-clear"> <div class="fn-clear">
${statistic.statisticPublishedBlogArticleCount} ${articleLabel} &nbsp; ${statistic.statisticPublishedBlogArticleCount} ${articleLabel} &nbsp;
<#if commentable>${statistic.statisticPublishedBlogCommentCount} ${commentLabel} &nbsp;</#if> <#if commentable>${statistic.statisticPublishedBlogCommentCount} ${commentLabel} &nbsp;</#if>
<span data-uvstaturl="${servePath}">0</span> ${viewLabel} &nbsp; <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span> ${viewLabel} &nbsp;
${onlineVisitorCnt} ${onlineVisitorLabel} ${onlineVisitorCnt} ${onlineVisitorLabel}
<div class="fn-right"> <div class="fn-right">
Powered by <a href="https://solo.b3log.org" target="_blank">Solo</a> • Powered by <a href="https://solo.b3log.org" target="_blank">Solo</a> •
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
</a>&nbsp;&nbsp; </a>&nbsp;&nbsp;
</#if> </#if>
<a rel="nofollow" href="${servePath}${article.articlePermalink}"> <a rel="nofollow" href="${servePath}${article.articlePermalink}">
<span data-uvstaturl="${servePath}${article.articlePermalink}">0</span>&nbsp;&nbsp;${viewLabel} <span data-uvstaturl="${servePath}${article.articlePermalink}">${article.articleViewCount}</span>&nbsp;&nbsp;${viewLabel}
</a> </a>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<div class="right"> <div class="right">
${viewCount1Label} ${viewCount1Label}
<span class="tip"> <span class="tip">
<span data-uvstaturl="${servePath}">0</span> <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span>
</span> </span>
&nbsp;&nbsp; &nbsp;&nbsp;
${articleCount1Label} ${articleCount1Label}
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<ul class="side-li"> <ul class="side-li">
<#list mostViewCountArticles as article> <#list mostViewCountArticles as article>
<li> <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}"> <a title="${article.articleTitle}" href="${servePath}${article.articlePermalink}">
${article.articleTitle} ${article.articleTitle}
</a> </a>
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<#if commentable> <#if commentable>
${statistic.statisticPublishedBlogCommentCount} ${statistic.statisticPublishedBlogCommentCount}
${commentLabel}</#if> <br> ${commentLabel}</#if> <br>
<span data-uvstaturl="${servePath}">0</span> <span class="ft-gray">${viewLabel}</span> &nbsp; &nbsp; <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span> <span class="ft-gray">${viewLabel}</span> &nbsp; &nbsp;
${onlineVisitorCnt} <span class="ft-gray">${onlineVisitorLabel}</span> <br> ${onlineVisitorCnt} <span class="ft-gray">${onlineVisitorLabel}</span> <br>
&copy; ${year} &copy; ${year}
<a class="ft__link" href="${servePath}">${blogTitle}</a> <a class="ft__link" href="${servePath}">${blogTitle}</a>
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<div class="margin25"> <div class="margin25">
<a rel="nofollow" href="${servePath}${article.articlePermalink}" class="left"> <a rel="nofollow" href="${servePath}${article.articlePermalink}" class="left">
<span class="left article-browserIcon" title="${viewLabel}"></span> <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> </a>
<div class="left"> <div class="left">
<span class="tagsIcon" title="${tagLabel}"></span> <span class="tagsIcon" title="${tagLabel}"></span>
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,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>(<span data-uvstaturl="${servePath}${article.articlePermalink}">0</span>) </a>(<span data-uvstaturl="${servePath}${article.articlePermalink}">${article.articleViewCount}</span>)
</li> </li>
</#list> </#list>
</ul> </ul>
...@@ -211,4 +211,4 @@ ...@@ -211,4 +211,4 @@
</#if> </#if>
</#if> </#if>
<div class="rings" style="bottom: 0px;"></div> <div class="rings" style="bottom: 0px;"></div>
</div> </div>
\ No newline at end of file
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<span> <span>
${viewCount1Label} ${viewCount1Label}
<span class='error-msg'> <span class='error-msg'>
<span data-uvstaturl="${servePath}">0</span> <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span>
</span> </span>
&nbsp;&nbsp; &nbsp;&nbsp;
</span> </span>
...@@ -41,4 +41,4 @@ ...@@ -41,4 +41,4 @@
</span> </span>
</#if> </#if>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
\ No newline at end of file
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<div class="article-footer"> <div class="article-footer">
<a rel="nofollow" href="${servePath}${article.articlePermalink}" class="left"> <a rel="nofollow" href="${servePath}${article.articlePermalink}" class="left">
<span class="left article-browserIcon" title="${viewLabel}"></span> <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> </a>
<div class="left"> <div class="left">
<span class="tagsIcon" title="${tagLabel}"></span> <span class="tagsIcon" title="${tagLabel}"></span>
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<span> <span>
${viewCount1Label} ${viewCount1Label}
<span class='error-msg'> <span class='error-msg'>
<span data-uvstaturl="${servePath}">0</span> <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span>
</span> </span>
&nbsp;&nbsp; &nbsp;&nbsp;
</span> </span>
...@@ -84,4 +84,4 @@ ...@@ -84,4 +84,4 @@
</#if> </#if>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
\ No newline at end of file
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
<li> <li>
<a rel="nofollow" title="${article.articleTitle}" <a rel="nofollow" title="${article.articleTitle}"
href="${servePath}${article.articlePermalink}"> 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} ${article.articleTitle}
</a> </a>
</li> </li>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
</a> </a>
</#if> </#if>
<a rel="nofollow" data-ico="&#xe185;" href="${servePath}${article.articlePermalink}"> <a rel="nofollow" data-ico="&#xe185;" href="${servePath}${article.articlePermalink}">
<span data-uvstaturl="${servePath}${article.articlePermalink}">0</span> <span data-uvstaturl="${servePath}${article.articlePermalink}">${article.articleViewCount}</span>
</a> </a>
<a rel="nofollow" data-ico="&#x0060;" href="${servePath}/authors/${article.authorId}"> <a rel="nofollow" data-ico="&#x0060;" href="${servePath}/authors/${article.authorId}">
${article.authorName} ${article.authorName}
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
<span data-ico="&#xe037;"></span> <span data-ico="&#xe037;"></span>
<div class="text"> <div class="text">
${viewCount1Label} ${viewCount1Label}
<span data-uvstaturl="${servePath}">0</span><br/> <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span><br/>
${articleCount1Label} ${articleCount1Label}
${statistic.statisticPublishedBlogArticleCount}<br/> ${statistic.statisticPublishedBlogArticleCount}<br/>
${commentCount1Label} ${commentCount1Label}
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
${article.articleTitle} ${article.articleTitle}
</a> </a>
<span data-ico="&#xe185;"> <span data-ico="&#xe185;">
<span data-uvstaturl="${servePath}${article.articlePermalink}">0</span> <span data-uvstaturl="${servePath}${article.articlePermalink}">${article.articleViewCount}</span>
</span> </span>
</li> </li>
</#list> </#list>
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
</div> </div>
<div class="text fn-right"> <div class="text fn-right">
<#list mostUsedTags as tag> <#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})"> title="${tag.tagTitle}(${tag.tagPublishedRefCount})">
${tag.tagTitle} ${tag.tagTitle}
</a> </a>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<span data-ico="&#xe037;"></span> <span data-ico="&#xe037;"></span>
<div class="text"> <div class="text">
${viewCount1Label} ${viewCount1Label}
<span data-uvstaturl="${servePath}">0</span><br/> <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span><br/>
${articleCount1Label} ${articleCount1Label}
${statistic.statisticPublishedBlogArticleCount}<br/> ${statistic.statisticPublishedBlogArticleCount}<br/>
<#if commentable> <#if commentable>
...@@ -205,4 +205,4 @@ ...@@ -205,4 +205,4 @@
</#if> </#if>
</div> </div>
</div> </div>
</#macro> </#macro>
\ No newline at end of file
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
${article.articleCommentCount} ${cmtLabel}</a> ${article.articleCommentCount} ${cmtLabel}</a>
</span> </span>
</#if> </#if>
&nbsp; | &nbsp;${viewsLabel} <span data-uvstaturl="${servePath}${article.articlePermalink}">0</span>°C &nbsp; | &nbsp;${viewsLabel} <span data-uvstaturl="${servePath}${article.articlePermalink}">${article.articleViewCount}</span>°C
</div> </div>
</header> </header>
<div class="vditor-reset"> <div class="vditor-reset">
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</div> </div>
<div class="site-state-item site-state-categories"> <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> <span class="site-state-item-name">${viewLabel}</span>
</div> </div>
...@@ -118,4 +118,4 @@ ...@@ -118,4 +118,4 @@
</#if> </#if>
</section> </section>
</#if> </#if>
</aside> </aside>
\ No newline at end of file
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
</#if> </#if>
<span class="tag"> <span class="tag">
<i class="icon__views"></i> <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> </span>
</div> </div>
...@@ -97,4 +97,4 @@ ...@@ -97,4 +97,4 @@
</nav> </nav>
</div> </div>
</#if> </#if>
</div> </div>
\ No newline at end of file
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
<br/> <br/>
<div class="fn__flex"> <div class="fn__flex">
<div class="fn__flex-1 ft__center"> <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>
<div class="fn__flex-1 ft__center"> <div class="fn__flex-1 ft__center">
${onlineVisitorCnt} <span class="ft-gray">${onlineVisitorLabel}</span> ${onlineVisitorCnt} <span class="ft-gray">${onlineVisitorLabel}</span>
...@@ -148,4 +148,4 @@ ...@@ -148,4 +148,4 @@
</div> </div>
</div> </div>
</div> </div>
</aside> </aside>
\ No newline at end of file
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</#if> ${article.articleUpdateDate?string("yyyy-MM-dd HH:mm")} | </#if> ${article.articleUpdateDate?string("yyyy-MM-dd HH:mm")} |
${viewCount1Label} ${viewCount1Label}
<a rel="nofollow" href="${servePath}${article.articlePermalink}"> <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><#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>
......
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<li> <li>
<a rel="nofollow" title="${article.articleTitle}" <a rel="nofollow" title="${article.articleTitle}"
href="${servePath}${article.articlePermalink}"> 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} ${article.articleTitle}
</a> </a>
</li> </li>
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
</span> </span>
<span class="ico-view ico" title="${viewLabel}"> <span class="ico-view ico" title="${viewLabel}">
<a rel="nofollow" href="${servePath}${article.articlePermalink}"> <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> </a>
</span> </span>
</div> </div>
...@@ -77,4 +77,4 @@ ...@@ -77,4 +77,4 @@
<div class="article-more" onclick="timeline.getNextPage(this)" data-page="${paginationCurrentPageNum}">${moreLabel}</div> <div class="article-more" onclick="timeline.getNextPage(this)" data-page="${paginationCurrentPageNum}">${moreLabel}</div>
</#if> </#if>
</div> </div>
</div> </div>
\ No newline at end of file
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<ul class="list"> <ul class="list">
<#list mostCommentArticles as article> <#list mostCommentArticles as article>
<li class="fn-clear"> <li class="fn-clear">
<a class="left" rel="nofollow" title="${article.articleTitle}" <a class="left" rel="nofollow" title="${article.articleTitle}"
href="${servePath}${article.articlePermalink}"> href="${servePath}${article.articlePermalink}">
${article.articleTitle} ${article.articleTitle}
</a> </a>
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
</a> </a>
<span class="ico ico-view right" title="${viewLabel}"> <span class="ico ico-view right" title="${viewLabel}">
<a rel="nofollow" href="${servePath}${article.articlePermalink}"> <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> </a>
</span> </span>
</li> </li>
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<div class="module tags"> <div class="module tags">
<h3 class="title">${popTagsLabel}</h3> <h3 class="title">${popTagsLabel}</h3>
<#list mostUsedTags as tag> <#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})"> title="${tag.tagTitle}(${tag.tagPublishedRefCount})">
${tag.tagTitle} ${tag.tagTitle}
</a>&nbsp; &nbsp; </a>&nbsp; &nbsp;
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<span class="left"> <span class="left">
<span> <span>
${viewCount1Label} ${viewCount1Label}
<span data-uvstaturl="${servePath}">0</span> <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span>
&nbsp;&nbsp; &nbsp;&nbsp;
</span> </span>
<span> <span>
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
</#if> </#if>
<span class="ico-view ico" title="${viewLabel}"> <span class="ico-view ico" title="${viewLabel}">
<a rel="nofollow" href="${servePath}${article.articlePermalink}"> <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> </a>
</span> </span>
</div> </div>
......
...@@ -309,7 +309,8 @@ var timeline = { ...@@ -309,7 +309,8 @@ var timeline = {
+ 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">' + (article.articleCommentCount === 0 ? Label.noCommentLabel : article.articleCommentCount)
+ '</a></span>&nbsp;<span class="ico-view ico" title="' + Label.viewLabel + '">' + '</a></span>&nbsp;<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>'; + '</a></span></div></article>';
} }
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<div> <div>
${viewCount1Label} ${viewCount1Label}
<span class='error-msg'> <span class='error-msg'>
<span data-uvstaturl="${servePath}">0</span> <span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span>
</span> </span>
</div> </div>
<div> <div>
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
<#list mostViewCountArticles as article> <#list mostViewCountArticles 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>[<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> </a>
</li> </li>
</#list> </#list>
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
${link.linkTitle} ${link.linkTitle}
</a> </a>
<img onclick="window.location='${link.linkAddress}'" <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" /> src="${faviconAPI}<#list link.linkAddress?split('/') as x><#if x_index=2>${x}<#break></#if></#list>" width="16" height="16" />
</li> </li>
</#list> </#list>
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<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}">
<span data-uvstaturl="${servePath}${article.articlePermalink}">0</span> <span data-uvstaturl="${servePath}${article.articlePermalink}">${article.articleViewCount}</span>
<span class="icon-views"></span> <span class="icon-views"></span>
</a> </a>
<a rel="nofollow" href="${servePath}/authors/${article.authorId}" class="fn__flex-center"> <a rel="nofollow" href="${servePath}/authors/${article.authorId}" class="fn__flex-center">
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<#else> <#else>
<a href="${comment.commentURL}" target="_blank">${comment.commentName}</a> <a href="${comment.commentURL}" target="_blank">${comment.commentName}</a>
</#if> </#if>
<time>${comment.commentDate?string("yy-MM-dd HH")}</time> <time>${comment.commentDate?string("yy-MM-dd HH")}</time>
</span> </span>
<a class="fn-right" href="${servePath}${comment.commentSharpURL}">${viewLabel}»</a> <a class="fn-right" href="${servePath}${comment.commentSharpURL}">${viewLabel}»</a>
</div> </div>
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
${article.articleTitle} ${article.articleTitle}
</a> </a>
<span data-ico="&#xe185;"> <span data-ico="&#xe185;">
<span data-uvstaturl="${servePath}${article.articlePermalink}">0</span> <span data-uvstaturl="${servePath}${article.articlePermalink}">${article.articleViewCount}</span>
</span> </span>
</li> </li>
</#list> </#list>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<a rel="friend" href="http://vanessa.b3log.org" target="_blank">Vanessa</a> <a rel="friend" href="http://vanessa.b3log.org" target="_blank">Vanessa</a>
</div> </div>
<span class="fn-right"> <span class="fn-right">
${viewCount1Label}<span data-uvstaturl="${servePath}">0</span> ${viewCount1Label}<span data-uvstaturl="${servePath}">${statistic.statisticBlogViewCount}</span>
&nbsp; &nbsp;
${articleCount1Label}${statistic.statisticPublishedBlogArticleCount} ${articleCount1Label}${statistic.statisticPublishedBlogArticleCount}
<#if commentable> <#if commentable>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment