feat: 過期通知優化,可單獨文章關閉

fix: 修復説説評論 css 受主題影響的 bug
This commit is contained in:
myw
2024-11-05 18:01:36 +08:00
Unverified
parent fb4ab20169
commit 91c8c5cd4b
25 changed files with 83 additions and 81 deletions

View File

@@ -0,0 +1,8 @@
- const { limit_day, message_prev, message_next, position} = theme.noticeOutdate
- const notice_data = { limitDay: limit_day, messagePrev: message_prev, messageNext: message_next, postUpdate: full_date(page.updated)}
if position === 'top'
#post-outdate-notice(data=notice_data hidden)
!=page.content
else
!=page.content
#post-outdate-notice(data=notice_data hidden)