timvink / mkdocs-git-revision-date-localized-plugin

MkDocs plugin to add a last updated date to your site pages
https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/index.html
MIT License
198 stars 40 forks source link

Support disabling on certain pages #43

Closed RDIL closed 3 years ago

RDIL commented 3 years ago

This would be nice as a front matter attribute or just an HTML comment, so that in cases such as a homepage, you aren't forced to have it.

timvink commented 3 years ago

I agree this would be nice to have!

Probably it makes sense to have an include/exclude options in the mkdocs.yml config. There are more plugins that offer this kind of tweaking. At the least, we could study the designs and copy the best one. mkdocs could also have the option to exclude certain pages from certain plugins, perhaps I'll open an issue and see if that would fit the design.

Pressed for time currently, but definitely this one is on the backlog. I'm also open to PR's of course.

RDIL commented 3 years ago

Opened a PR to fix.