Подсветка свежих или недавно обновлённых постов
This commit is contained in:
parent
3c55a37ed8
commit
2e99b04261
2 changed files with 59 additions and 15 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import path from 'path';
|
||||
|
||||
export const THUMBNAIL_DEFAULT = "https://teasanctuary.ru/common/background-day.webp";
|
||||
export const BLOG_POST_FRESHNESS_MILLIS = 3 * 24 * 60 * 60 * 1000; // 3 дня
|
||||
|
||||
export type PostComparer = (a: App.BlogPost, b: App.BlogPost) => number;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue