mirror of https://github.com/jpanther/congo.git
Compare commits
2 Commits
ea640a1cbe
...
aa1a4e914f
Author | SHA1 | Date |
---|---|---|
Wolf Noble | aa1a4e914f | |
Wolf Noble | 984bb01c79 |
|
@ -3,7 +3,9 @@
|
||||||
{{ with .Site.Language.Params.Author.image }}
|
{{ with .Site.Language.Params.Author.image }}
|
||||||
{{ $authorImage := resources.Get . }}
|
{{ $authorImage := resources.Get . }}
|
||||||
{{ if $authorImage }}
|
{{ if $authorImage }}
|
||||||
|
{{- if ne $authorImage.MediaType.SubType "svg" }}
|
||||||
{{ $authorImage := $authorImage.Fill "192x192 Center" }}
|
{{ $authorImage := $authorImage.Fill "192x192 Center" }}
|
||||||
|
{{- end }}
|
||||||
<img
|
<img
|
||||||
class="!mb-0 !mt-0 me-4 h-24 w-24 rounded-full"
|
class="!mb-0 !mt-0 me-4 h-24 w-24 rounded-full"
|
||||||
width="96"
|
width="96"
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
{{ with .Site.Language.Params.Author.image }}
|
{{ with .Site.Language.Params.Author.image }}
|
||||||
{{ $authorImage := resources.Get . }}
|
{{ $authorImage := resources.Get . }}
|
||||||
{{ if $authorImage }}
|
{{ if $authorImage }}
|
||||||
|
{{- if ne $authorImage.MediaType.SubType "svg" }}
|
||||||
{{ $authorImage := $authorImage.Fill "288x288 Center" }}
|
{{ $authorImage := $authorImage.Fill "288x288 Center" }}
|
||||||
|
{{- end }}
|
||||||
<img
|
<img
|
||||||
class="mb-2 h-36 w-36 rounded-full"
|
class="mb-2 h-36 w-36 rounded-full"
|
||||||
width="144"
|
width="144"
|
||||||
|
|
Loading…
Reference in New Issue