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

Fix issues caused by PJAX #1057

Merged
merged 5 commits into from
Aug 4, 2019
Merged

Fix issues caused by PJAX #1057

merged 5 commits into from
Aug 4, 2019

Conversation

stevenjoezhang
Copy link
Contributor

@stevenjoezhang stevenjoezhang commented Aug 4, 2019

vendors:
-  md5:

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines.
  • Tests for the changes was maked (for bug fixes / features).
    • Muse | Mist have been tested.
    • Pisces | Gemini have been tested.
  • Docs in NexT website have been added / updated (for features).

PR Type

What kind of change does this PR introduce?

  • Bugfix.
  • Feature.
  • Code style update (formatting, local variables).
  • Refactoring (no functional changes, no api changes).
  • Build related changes.
  • CI related changes.
  • Documentation content changes.
  • Other... Please describe:

What is the current behavior?

Issue resolved: N/A

What is the new behavior?

  • Screenshots with this changes: N/A
  • Link to demo site with this changes: N/A

How to use?

In NexT _config.yml:

...

Does this PR introduce a breaking change?

  • Yes.
  • No.

@stevenjoezhang stevenjoezhang added this to the v7.4.0 milestone Aug 4, 2019
@stevenjoezhang stevenjoezhang merged commit a5e6ae5 into master Aug 4, 2019
@delete-merged-branch delete-merged-branch bot deleted the pjax branch August 4, 2019 13:44
@1v9
Copy link
Member

1v9 commented Aug 4, 2019

Good job!

@1v9 1v9 added the PJAX label Aug 19, 2019
tongluyang pushed a commit to tongluyang/hexo-theme-next that referenced this pull request Nov 19, 2019

hexo.extend.helper.register('gitalk_md5', function(path) {
var str = this.url_for(path);
str = encodeURI(str);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should be removed due to hexojs/hexo#3708

post.path is encoded twice after Hexo 4.0.0

hexo.extend.helper.register('gitalk_md5', function(path) {
var str = this.url_for(path);
str = encodeURI(str);
str.replace('index.html', '');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should be str = str.replace('index.html', '');

hexo.extend.helper.register('gitalk_md5', function(path) {
var str = this.url_for(path);
str = encodeURI(str);
str.replace('index.html', '');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should be str = str.replace('index.html', '');

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

Successfully merging this pull request may close these issues.

2 participants