Skip to content

Commit c32b5fa

Browse files
authored
Add hour and minute for the post permalink.
1 parent e8fc2ba commit c32b5fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/plugins/filter/post_permalink.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ function postPermalinkFilter(data) {
1515
year: data.date.format('YYYY'),
1616
month: data.date.format('MM'),
1717
day: data.date.format('DD'),
18+
hour: data.date.format('HH'),
19+
minute: data.date.format('mm'),
1820
i_month: data.date.format('M'),
1921
i_day: data.date.format('D')
2022
};

0 commit comments

Comments
 (0)