Skip to content

Commit 20deb98

Browse files
committed
fix: remove trailing slashes from llms.txt footer links
- Use custom HTML links instead of Docusaurus Link component - Prevents /llms.txt/ trailing slash issue - Links now correctly point to /llms.txt and /llms-full.txt
1 parent a9fa192 commit 20deb98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docusaurus.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,12 @@ const config = {
239239
title: "AI Resources",
240240
items: [
241241
{
242-
label: "llms.txt",
243-
href: "/llms.txt",
242+
type: 'html',
243+
value: '<a href="/llms.txt" target="_blank" rel="noopener noreferrer" class="footer__link-item">llms.txt</a>',
244244
},
245245
{
246-
label: "llms-full.txt",
247-
href: "/llms-full.txt",
246+
type: 'html',
247+
value: '<a href="/llms-full.txt" target="_blank" rel="noopener noreferrer" class="footer__link-item">llms-full.txt</a>',
248248
},
249249
],
250250
},

0 commit comments

Comments
 (0)