add theme
This commit is contained in:
8
themes/butterfly/layout/includes/post/outdate-notice.pug
Normal file
8
themes/butterfly/layout/includes/post/outdate-notice.pug
Normal 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)
|
||||
Reference in New Issue
Block a user