refactor: citations
This commit is contained in:
parent
de341f4191
commit
810805f9ab
6 changed files with 76 additions and 54 deletions
|
@ -21,7 +21,7 @@
|
|||
itemprop="image">
|
||||
<img itemprop="thumbnail"
|
||||
class="u-photo gallery__thumbnail"
|
||||
{{ if ( or ( eq .MediaType.SubType "svg" ) ( eq .MediaType.SubType "gif" ) ) }}
|
||||
{{ if ( in ( slice "avif" "svg" "gif" ) .MediaType.SubType ) }}
|
||||
src="{{ .RelPermalink }}"
|
||||
{{ else }}
|
||||
{{ with .Resize "600x webp" }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue