Add meta data #5372
-
I couldn't find clear instructions on how to add this kind of metadata (3 months ago and 11 months ago): |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Also, is there an option to not display this information on some pages? |
Beta Was this translation helpful? Give feedback.
-
Hi, it's all documented here https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#revisioning As for the ability to turn it off for some pages, yes that's possible. Also duplicate of #5301 ✌️ |
Beta Was this translation helpful? Give feedback.
Hi, it's all documented here https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#revisioning
You need to install and enable a plugin. The way the information is displayed is defined in the source-file partial here https://github.com/squidfunk/mkdocs-material/blob/master/src/partials/source-file.html
As for the ability to turn it off for some pages, yes that's possible.
https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/options/#exclude
Also duplicate of #5301 ✌️