How to add a Github edit link automatically to a page#6
Open
How to add a Github edit link automatically to a page#6
Conversation
2d53f6b to
11162dc
Compare
yihui
referenced
this pull request
in rbind/njtierney.com
Jun 22, 2017
80a8a25 to
55cb8a6
Compare
a624392 to
95b49ff
Compare
95b49ff to
b30d8b6
Compare
b30d8b6 to
eb862cb
Compare
eb862cb to
0b6a200
Compare
0b6a200 to
38b3f10
Compare
38b3f10 to
d994ad5
Compare
d994ad5 to
b36f102
Compare
b36f102 to
f68a1f5
Compare
f68a1f5 to
dc31dda
Compare
dc31dda to
45fe8f9
Compare
45fe8f9 to
7f7badd
Compare
7f7badd to
c88040f
Compare
3901584 to
58e17cb
Compare
98f1dab to
0bf14ae
Compare
0bf14ae to
57bf870
Compare
57bf870 to
ecd6b76
Compare
ecd6b76 to
1cafaca
Compare
0b40579 to
e1e921e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains two commits. The first commit is the implementation, and the second commit only contains two examples.
You should read https://bookdown.org/yihui/blogdown/templates.html and replace the edit link (
GithubEdit)https://github.com/yihui/hugo-xmin/edit/feature/github-edit/exampleSite/content/with your own link. You must replace the USER (yihui), REPO (hugo-xmin), BRANCH (feature/github-edit), and the path after BRANCH (exampleSite/content/) depending on your repo settings. In most cases,BRANCHis most likely to bemaster, and the path is likely to becontent/. Please do not blindly follow myGithubEditlink here. You should understand what each part means exactly.Preview at https://deploy-preview-6--hugo-xmin.netlify.com/ (see the link "Edit this page" in the footer of every page).