Skip to content

Commit d708c88

Browse files
committed
build: include language in bloglist.json
1 parent d97ab2c commit d708c88

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export interface BlogEntryLight {
4848
twitter2?: string;
4949

5050
published: Date | string;
51+
language: string;
5152
header: {
5253
url: string;
5354
width: number;

build/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export function makeLightBlogList(fullList: BlogEntry[]): BlogEntryLight[] {
3333
author: entry.meta.author,
3434
mail: entry.meta.mail,
3535
published: entry.meta.published,
36+
language: entry.meta.language,
3637
header: entry.meta.header,
3738
},
3839
};

0 commit comments

Comments
 (0)