We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce912be commit 14a818aCopy full SHA for 14a818a
apps/svelte.dev/src/lib/server/content.ts
@@ -201,7 +201,9 @@ function create_registry() {
201
202
for (const frontmatter of Object.values(registry_docs)) {
203
const json = extract_frontmatter(frontmatter);
204
- json.metadata.description = markdown_to_plain_text(json.metadata.description || '');
+ json.metadata.description = json.metadata.description;
205
+ json.metadata.outdated =
206
+ +new Date() - +new Date(json.metadata.updated) > 2 * 365 * 24 * 60 * 60 * 1000;
207
208
output.push(json.metadata as unknown as Package);
209
}
0 commit comments