Skip to content

Commit c5f0749

Browse files
committed
update the edit on github button url
1 parent cd4f4b5 commit c5f0749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ hexo.extend.helper.register('website_github_edit_url', function (path) {
162162
// For docs.
163163
if (path.indexOf('docs/') !== -1) {
164164
return urljoin(this.config.github.exokit.url, 'edit', MASTER,
165-
path.replace('docs/', 'docs/').replace(/\.html$/, '.md'));
165+
path.replace('docs/', 'src/docs/').replace(/\.html$/, '.md'));
166166
}
167167
// For blog posts.
168168
return urljoin(this.config.github.exokit_site.url, 'edit', MASTER, this.config.source_dir,

0 commit comments

Comments
 (0)