fix: 修復在modern樣式下,note 標簽外掛沒有使用tags名時,沒有背景色和夜間模式文字顯示不清楚的bugs

fix: 修復主頁文章cover在深色模式下,邊角有小白邊的bugs close #278
fix: 修復note標簽外掛下,代碼塊顯示背景色的bugs close #339
This commit is contained in:
Jerry
2020-08-27 21:47:40 +08:00
Unverified
parent 40fd319cb2
commit ee6f62f4bc
4 changed files with 16 additions and 13 deletions

View File

@@ -70,7 +70,7 @@ hexo.extend.helper.register('related_posts', function (currentPost, allPosts) {
'<img class="relatedPosts_cover" ' +
lazySrc +
'="' +
cover +
this.url_for(cover) +
'">'
if (dateType === 'created') {
result +=