Skip to content

Commit e8ef760

Browse files
committed
Add link to suggest edits
1 parent e6063f8 commit e8ef760

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

_config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ defaults:
2020
path: ""
2121
values:
2222
layout: article
23+
24+
branch: gh-pages
25+
26+
github:
27+
repository_nwo: github/open-source-handbook

_layouts/article.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<h1>{{ page.title }}</h1>
22

3+
<a href="https://github.com/{{ site.github.repository_nwo }}/edit/{{ site.branch }}/{{ page.path }}">
4+
Suggest edits
5+
</a>
6+
37
{{ content }}
48

59
{% assign previous = site.pages | where: "next", page.path | first %}

0 commit comments

Comments
 (0)