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.
undefined
1 parent 10409b8 commit 33f1bbfCopy full SHA for 33f1bbf
src/runtime/server/routes/llms.txt.get.ts
@@ -27,7 +27,9 @@ export default eventHandler(async (event) => {
27
}
28
document.push(
29
section.links?.map((link) => {
30
- return `- [${link.title}](${link.href}): ${link.description}`
+ return link.description
31
+ ? `- [${link.title}](${link.href}): ${link.description}`
32
+ : `- [${link.title}](${link.href})`
33
}).join('\n') || '',
34
)
35
0 commit comments