Skip to content
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

Support Hexo Next static website generator #47

Closed
wants to merge 2 commits into from

Conversation

ryankert01
Copy link

@ryankert01 ryankert01 commented Sep 1, 2022

Fixed #46
I'm using hexo next to power my blog that I believe many people have used.
When I use this plugin to get the published Date, It always returns the current Date.
I have created an issue for that.

Anyways, end of reading the code, I found out the problem is that it's because it doesn't support hexo/next.

<published>2022-04-01T04:56:46.000Z</published>
<updated>2022-08-02T03:42:48.620Z</updated>

Therefore, it will not read the published property, and return Date().current.
So, I add simple logic to it to support hexo/next.

Please let me know if you need something from me to be able accept this PR.

@ryankert01 ryankert01 closed this Sep 10, 2024
@ryankert01
Copy link
Author

Close by stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Date isn't right!
1 participant