We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v.0.3.0 adds our own Git classes, making it possible to also expose the last updated date of a page or entire site.
v.0.3.0
We can add the following markdown tags:
{{ git_page_last_updated }}
{{ git_site_last_updated }}
These should output the date or datetime only, and not include the text "Last updated: ". That should be picked up in #14.
For those developing custom themes, we can extend the dict {{ git_info }}. Proposal:
dict
{{ git_info }}
{ ..., 'page_last_updated' : { 'date' : '28 November, 2019', 'datetime' : '28 November, 2019 13:57:28' }, 'site_last_updated' : # same structure }
We should add two new options:
type
date
datetime
locale
setup.py
babel
The text was updated successfully, but these errors were encountered:
On second thought, better to use https://github.com/timvink/mkdocs-git-revision-date-localized-plugin
Sorry, something went wrong.
No branches or pull requests
v.0.3.0
adds our own Git classes, making it possible to also expose the last updated date of a page or entire site.Markdown tags
We can add the following markdown tags:
{{ git_page_last_updated }}
{{ git_site_last_updated }}
These should output the date or datetime only, and not include the text "Last updated: ". That should be picked up in #14.
Jinja2 variables
For those developing custom themes, we can extend the
dict
{{ git_info }}
. Proposal:Options
We should add two new options:
type
: and support two options:date
anddatetime
(see https://github.com/timvink/mkdocs-git-revision-date-localized-plugin#type).locale
: (see https://github.com/timvink/mkdocs-git-revision-date-localized-plugin#locale)Other
setup.py
to include dependency onbabel
The text was updated successfully, but these errors were encountered: