Fix rendering in https://themes.gohugo.io/
This commit is contained in:
parent
7317ba53de
commit
8184658c19
14 changed files with 61 additions and 43 deletions
|
@ -13,7 +13,7 @@
|
|||
{{/* resize the image. don't resize svg because it is not supported */}}
|
||||
{{ $notFoundImage := resources.Get $notFoundImage}}
|
||||
{{ if and $notFoundImage (ne $notFoundImage.MediaType.SubType "svg") }}
|
||||
{{ $notFoundImage = $notFoundImage.Resize "42x" }}
|
||||
{{ $notFoundImage = $notFoundImage.Resize "1500x" }}
|
||||
{{ end }}
|
||||
{{ $notFoundImage = $notFoundImage.RelPermalink}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue