mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-05-21 23:01:52 +02:00
Update author.html
This commit is contained in:
parent
1f55cd407f
commit
e16d4b5efd
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,9 @@
|
||||||
{{ $authorImage := resources.Get . }}
|
{{ $authorImage := resources.Get . }}
|
||||||
{{ if $authorImage }}
|
{{ if $authorImage }}
|
||||||
{{ if not $disableImageOptimization }}
|
{{ if not $disableImageOptimization }}
|
||||||
|
{{- if not (eq $authorImage.MediaType.SubType "svg") -}}
|
||||||
{{ $authorImage = $authorImage.Fill "192x192" }}
|
{{ $authorImage = $authorImage.Fill "192x192" }}
|
||||||
|
{{- end -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<img class="!mt-0 !mb-0 h-24 w-24 rounded-full ltr:mr-4 rtl:ml-4" width="96" height="96"
|
<img class="!mt-0 !mb-0 h-24 w-24 rounded-full ltr:mr-4 rtl:ml-4" width="96" height="96"
|
||||||
alt="{{ $.Site.Author.name | default " Author" }}" src="{{ $authorImage.RelPermalink }}" />
|
alt="{{ $.Site.Author.name | default " Author" }}" src="{{ $authorImage.RelPermalink }}" />
|
||||||
|
|
Loading…
Add table
Reference in a new issue