Fix valign for git footer icons
This commit is contained in:
parent
00988ceee1
commit
1db63cef5c
4 changed files with 12 additions and 7 deletions
|
@ -217,6 +217,7 @@ ul.pagination {
|
|||
|
||||
img {
|
||||
height: 1em;
|
||||
margin-right: $padding-8;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"Target":"book.min.0ff68478dc11e28fc277189da0da67c6f39e056233a7854326a1822af251be29.css","MediaType":"text/css","Data":{"Integrity":"sha256-D/aEeNwR4o/CdxidoNpnxvOeBWIzp4VDJqGCKvJRvik="}}
|
||||
{"Target":"book.min.1b994bd28c6ce2255f069b6bf6837b4d396307637fc48d61dcb2a6caac26e031.css","MediaType":"text/css","Data":{"Integrity":"sha256-G5lL0oxs4iVfBptr9oN7TTljB2N/xI1h3LKmyqwm4DE="}}
|
|
@ -3,16 +3,20 @@
|
|||
{{ with .GitInfo }}
|
||||
<div>
|
||||
{{ $date := .AuthorDate.Local.Format (default "January 2, 2006" $.Site.Params.BookDateFormat) }}
|
||||
<a href="{{ $.Site.Params.BookRepo }}/commit/{{ .Hash }}" title='Last modified {{ $date }} by {{ .AuthorName }}' target="_blank" rel="noopener">
|
||||
<img src="{{ "svg/calendar.svg" | relURL }}" alt="Changed" /> {{ $date }}
|
||||
<a class="flex align-center" href="{{ $.Site.Params.BookRepo }}/commit/{{ .Hash }}" title='Last modified {{ $date }} by {{ .AuthorName }}' target="_blank" rel="noopener">
|
||||
<img src="{{ "svg/calendar.svg" | relURL }}" alt="Changed" />
|
||||
<span>{{ $date }}</span>
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.BookEditPath }}
|
||||
<div>
|
||||
{{ if $.File }}<a href="{{ $.Site.Params.BookRepo }}/{{ . }}/{{ $.File.Path }}" target="_blank" rel="noopener">
|
||||
<img src="{{ "svg/edit.svg" | relURL }}" alt="Edit" /> Edit this page
|
||||
</a>{{ end }}
|
||||
{{ if $.File }}
|
||||
<a class="flex align-center" href="{{ $.Site.Params.BookRepo }}/{{ . }}/{{ $.File.Path }}" target="_blank" rel="noopener">
|
||||
<img src="{{ "svg/edit.svg" | relURL }}" alt="Edit" />
|
||||
<span>Edit this page</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue