Skip to content

Commit bbbd0a0

Browse files
Make it easier to edit pages on the website
1 parent 80e342d commit bbbd0a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_layouts/default.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<div class="background"><div class="primary"></div><div class="secondary"></div></div>
2626
{% else %}
2727
{% if page.include_title %}
28-
<h1>{{ page.title }}</h1>
28+
<h1>{{ page.title }} <a href="https://github.com/WP-API/docs-v2/edit/gh-pages/{{page.path}}">Edit Page</a></h1>
2929
{% endif %}
3030
{% endif %}
3131

@@ -57,4 +57,4 @@ <h1>{{ page.title }}</h1>
5757

5858
{% include anchor_links.html %}
5959
</body>
60-
</html>
60+
</html>

0 commit comments

Comments
 (0)