2018-12-15 04:53:50 +01:00
|
|
|
{{ if or .GitInfo .Site.Params.BookEditPath }}
|
|
|
|
<div class="align-center book-git-footer {{ if not .GitInfo }}justify-end{{ else }}justify-between{{ end }}">
|
|
|
|
{{ with .GitInfo }}
|
2018-12-03 08:17:01 +01:00
|
|
|
<div>
|
2019-03-28 21:25:28 +01:00
|
|
|
<a href="{{ $.Site.Params.BookRepo }}/commit/{{ .Hash }}" title='Last modified {{ .AuthorDate.Local.Format $.Site.Params.DateFormat }} by {{ .AuthorName }}' target="_blank" rel="noopener">
|
|
|
|
<img src="{{ "svg/code-merge.svg" | relURL }}" /> {{ .AuthorDate.Local.Format $.Site.Params.DateFormat }}
|
2018-12-15 04:53:50 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ with .Site.Params.BookEditPath }}
|
|
|
|
<div>
|
|
|
|
<a href="{{ $.Site.Params.BookRepo }}/{{ . }}/{{ $.File.Path }}" target="_blank" rel="noopener">
|
2019-02-20 10:37:48 +01:00
|
|
|
<img src="{{ "svg/code-fork.svg" | relURL }}" /> Edit this page
|
2018-12-03 08:17:01 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
2018-12-15 04:53:50 +01:00
|
|
|
{{ end }}
|
2018-12-03 08:17:01 +01:00
|
|
|
</div>
|
|
|
|
{{ end }}
|