mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-10 21:17:07 +08:00
feat: 增加首頁評論數顯示
fix: 修復點擊toc後,滾動完toc的highlight在點擊的上一個元素 fix: 修復打賞按鈕Hover的bug close #473 improvement: 友情鏈接界面增加title顯示(top_img設為false時) improvement: 優化toc顯示,當向上滾動時,導航欄不會遮擋 toc close #472 improvement: 升級facebook comment sdk版本
This commit is contained in:
@@ -54,8 +54,8 @@ hexo.extend.helper.register('cloudTags', function (options = {}) {
|
||||
return result
|
||||
})
|
||||
|
||||
hexo.extend.helper.register('urlNoIndex', function () {
|
||||
return prettyUrls(this.url, { trailing_index: false, trailing_html: false })
|
||||
hexo.extend.helper.register('urlNoIndex', function (url = null) {
|
||||
return prettyUrls(url || this.url, { trailing_index: false, trailing_html: false })
|
||||
})
|
||||
|
||||
hexo.extend.helper.register('md5', function (path) {
|
||||
|
||||
Reference in New Issue
Block a user