-
-
Notifications
You must be signed in to change notification settings - Fork 51
Get raw values, without HTML tags #64
New issue
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
Comments
Hi @ZsharE. Good point, I agree the raw date strings should be available for developers. Currently the span is hardcoded: mkdocs-git-revision-date-localized-plugin/mkdocs_git_revision_date_localized_plugin/util.py Lines 195 to 200 in ff73362
I made some quick and dirty edits and exposed more date variants in |
Hi @timvink , Thanks for the quick release, but there's a little problem: mkdocs-git-revision-date-localized-plugin/mkdocs_git_revision_date_localized_plugin/plugin.py Line 224 in ff73362
is_first_commit should be True. Right now, the revision_date = creation_date. |
Hi @timvink , any update about this issue ? |
It's on my list but have had other stuff on my plate. Will prob look at it next Wednesday. |
@timvink Sounds great. Let us know if we can help with anything. Test, etc. |
Should be fixed now. I also spent a bit more time refactoring the code as Releases notes: https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/releases/tag/v0.10.2 |
Everything works great now, thanks ! |
Hi,
Is there any way to get the plain data value, without the HTML tag ?
Right know the
{{ page.meta.git_revision_date_localized }}
and{{ page.meta.git_creation_date_localized }}
renders in a span tag.There should be an option to be able to use only the date value.
I need this to be able to create custom meta tags for:
article:published_time
&article:modified_time
properties like this:Thanks
The text was updated successfully, but these errors were encountered: