-
I have two files, slides.md and home.md, they were modified on different date, but when calling useData(), it returns same time stamp. Is this a bug or something wrong in my code? I am following #1450 The code I used: <script>
import { __pageData as foo } from './slides.md'
console.log(foo)
</script> |
Beta Was this translation helpful? Give feedback.
Answered by
brc-dd
Dec 21, 2022
Replies: 1 comment 3 replies
-
You need to commit your code for |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
xu4wang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to commit your code for
lastUpdated
to work. It uses git-based timestamp not fs-based.