If user use git as markdown files storage, we could generate a sitemap for them.
To enhance performance, we need to commit certain files to the user's Git repo. When we first generate the sitemap, we will create a file in the user's repository that records the last modified time of the file(For first generate, all the last modified time will be set to 'today').
When user commit to their repo, we will traversal all the changed file and update the 'last modified time' file. Finally, we can generate our sitemap by this file.
If user use git as markdown files storage, we could generate a sitemap for them.
To enhance performance, we need to commit certain files to the user's Git repo. When we first generate the sitemap, we will create a file in the user's repository that records the last modified time of the file(For first generate, all the last modified time will be set to 'today').
When user commit to their repo, we will traversal all the changed file and update the 'last modified time' file. Finally, we can generate our sitemap by this file.