Skip to content

Commit

Permalink
docs: fix github issue link (hypermodeinc#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbj36 authored Sep 28, 2020
1 parent 0a5046f commit 8e06ab6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/themes/hugo-docs/layouts/partials/suggest-edit.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{{ $currentBranch := getenv "CURRENT_BRANCH" }}

<a
class="edit-btn"
target="_blank"
href="https://github.com/dgraph-io/badger/docs/{{ $currentBranch }}/content/{{ replace .File.Path '\\' '/' }}">
<i class="fa fa-github-alt"></i> Edit Page
</a>
<a class="edit-btn" target="_blank"
href="https://github.com/dgraph-io/badger/blob/{{ $currentBranch }}/docs/content/{{ replace .File.Path '\\' '/' }}">
<i class="fa fa-github-alt"></i> Edit Page
</a>

0 comments on commit 8e06ab6

Please sign in to comment.