parameterize git branch (#222)
* parameterize git branch * docs: add param to README.md, prettier lint
This commit is contained in:
parent
4270ad6bbf
commit
83f7946136
3 changed files with 15 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue