parameterize git branch (#222)

* parameterize git branch

* docs: add param to README.md, prettier lint
This commit is contained in:
Nicholas Santiago 2021-01-21 02:03:37 -05:00 committed by GitHub
parent 4270ad6bbf
commit 83f7946136
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 5 deletions

View file

@ -57,7 +57,7 @@
<!--- Improve this page button --->
{{ if site.Params.GitRepo }}
<div class="btn-improve-page">
<a href="{{ site.Params.GitRepo }}/edit/master/content/{{ .File.Path }}">
<a href="{{ site.Params.GitRepo }}/edit/{{ site.Params.GitBranch }}/content/{{ .File.Path }}">
<i class="fas fa-code-branch"></i>
{{ i18n "improve_this_page" }}
</a>