-
Hello, I can't manage to add "Last Updated Time" in my sitemap.ts. I follow the docs to add "lastUpdate={new Date(lastModifiedTime)}" do DocsPage but i get an "[ Server ] Error: lastModifiedTime is not defined" error. This is my sitemap.ts file :
Can someone show me how to do this ? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
fuma-nama
Jan 16, 2025
Replies: 1 comment 2 replies
-
That property only exists for Fumadocs MDX with lastModifiedTime enabled. Be careful that most hosting platforms do shallow clone for GitHub repo, you need to disable that. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
otium-dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That property only exists for Fumadocs MDX with lastModifiedTime enabled. Be careful that most hosting platforms do shallow clone for GitHub repo, you need to disable that.