Skip to content

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

Merged
ivan-nginx merged 3 commits intomasterfrom
dev
Dec 11, 2018
Merged

Added post_edit option on pages & Maked some refactoring.#499
ivan-nginx merged 3 commits intomasterfrom
dev

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