Skip to content

Commit 1bc22e6

Browse files
authored
Add Edit on GitHub option to posts
1 parent 251491f commit 1bc22e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

_layouts/post.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ <h3 class="font-weight-bold">Summary</h3>
4949
{{content}}
5050
</div>
5151

52+
<a target="_blank" class="nav-link" href="{{site.github.repository_url}}/blob/gh-pages/{{page.path}}"><i
53+
class="fab fa-github"></i> Edit this page on Github</a>
54+
5255
<div class="form-container">
5356
<h3>Send feedback!</h3>
5457
<form action="https://getform.io/f/acadce28-5a83-40d5-b2cd-9eb413874226" method="POST">
@@ -176,4 +179,4 @@ <h3>Send feedback!</h3>
176179
}
177180
}
178181
</script>
179-
{% endif %}
182+
{% endif %}

0 commit comments

Comments
 (0)