Make GitInfo not required for 'edit this page' link
This commit is contained in:
parent
1e4d0001e2
commit
f1d4aeb69a
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if and .File .GitInfo .Site.Params.BookRepo .Site.Params.BookEditPath }}
|
||||
{{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }}
|
||||
<div>
|
||||
<a class="flex align-center" href="{{ .Site.Params.BookRepo }}/{{ .Site.Params.BookEditPath }}/{{ .File.Path }}" target="_blank">
|
||||
<img src="{{ "svg/edit.svg" | relURL }}" alt="Edit" />
|
||||
|
|
Loading…
Reference in a new issue