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

Added post_edit option on pages & Maked some refactoring. #499

Merged
merged 3 commits into from
Dec 11, 2018
Merged

Conversation

ivan-nginx
Copy link
Member

@ivan-nginx ivan-nginx commented Dec 11, 2018

What is the current behavior?

Pages was impossible to edit via GitHub.

What is the new behavior?

Already added without breaking changes for now.

How to use?

In NexT _config.yml:

# Dependencies: https://github.com/hexojs/hexo-deployer-git
post_edit:
  enable: true
  url: https://github.com/user-name/repo-name/tree/branch-name/subdirectory-name/ # Link for view source.
  #url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/ # Link for fork & edit.

Live demo on theme-next.org.

@ivan-nginx ivan-nginx merged commit 92fac83 into master Dec 11, 2018
@ivan-nginx ivan-nginx deleted the dev branch December 11, 2018 02:25
tongluyang pushed a commit to tongluyang/hexo-theme-next that referenced this pull request Nov 19, 2019
…xt#499)

* Added `post_edit` option on pages & Maked some refactoring.

* Maked refactoring in `_macro` directory.

* Fixed partials name.
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.

1 participant