fix(route): 添加language字段 (#14759)

This commit is contained in:
Huntley 2024-03-12 04:18:09 +00:00 committed by GitHub
parent 2c94fc9cb7
commit 75b5a1945a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 0 deletions

View File

@ -108,5 +108,6 @@ async function handler(ctx) {
description,
link: currentUrl,
item: items,
language: $('html').attr('lang'),
};
}

View File

@ -92,5 +92,6 @@ async function handler(ctx) {
description: $('subtitle').first().text(),
link: currentUrl,
item: items,
language: $('html').attr('lang'),
};
}

View File

@ -74,5 +74,6 @@ async function handler(ctx) {
link: 'https://www.nber.org/papers',
item: items,
description: `National Bureau of Economic Research Working Papers articles`,
language: $('html').attr('lang'),
};
}

View File

@ -77,5 +77,6 @@ async function handler(ctx) {
title: `OUP - ${name}`,
link: url,
item: items,
language: $('html').attr('lang'),
};
}

View File

@ -60,5 +60,6 @@ async function handler(ctx) {
title: `Trending Papers on arXiv.org | ${category} | ${time} | ${cited} | `,
link: currentUrl,
item: papers,
language: $('html').attr('lang'),
};
}

View File

@ -100,5 +100,6 @@ async function handler(ctx) {
link,
image: $('head meta[property="og:image"]').attr('content'),
item: items,
language: $('html').attr('lang'),
};
}