Skip to content

Commit

Permalink
fix: youtube thumb aspect-ratio on index pagetype
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Sam committed Mar 17, 2023
1 parent 6f25042 commit cc8e3a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blog-theme/customized_theme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7060,7 +7060,7 @@
<b:if cond='data:post.thumbnailUrl or data:post.firstImageUrl'>
<b:with value='data:post.thumbnailUrl ? resizeImage(data:post.firstImageUrl, 400, &quot;1:1&quot;) : data:post.firstImageUrl' var='image'>
<div expr:class='&quot;separator cover-item&quot; + (data:post.thumbnailUrl ? &quot; ratio-square&quot; : &quot; ratio-none&quot;)'>
<b:class cond='data:image contains &quot;googleusercontent.com/proxy/&quot;' name='ratio-youtube'/>
<b:class cond='data:image contains &quot;googleusercontent.com/blogger_img_proxy/&quot;' name='ratio-youtube'/>
<b:if cond='data:postBodySnippet.size == 0'>
<b:class name='full-cover'/>
<b:else/>
Expand Down
2 changes: 1 addition & 1 deletion blog-theme/theme+adsense.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6821,7 +6821,7 @@
<b:if cond='data:post.thumbnailUrl or data:post.firstImageUrl'>
<b:with value='data:post.thumbnailUrl ? resizeImage(data:post.firstImageUrl, 400, &quot;1:1&quot;) : data:post.firstImageUrl' var='image'>
<div expr:class='&quot;separator cover-item&quot; + (data:post.thumbnailUrl ? &quot; ratio-square&quot; : &quot; ratio-none&quot;)'>
<b:class cond='data:image contains &quot;googleusercontent.com/proxy/&quot;' name='ratio-youtube'/>
<b:class cond='data:image contains &quot;googleusercontent.com/blogger_img_proxy/&quot;' name='ratio-youtube'/>
<b:if cond='data:postBodySnippet.size == 0'>
<b:class name='full-cover'/>
<b:else/>
Expand Down
2 changes: 1 addition & 1 deletion blog-theme/theme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6758,7 +6758,7 @@
<b:if cond='data:post.thumbnailUrl or data:post.firstImageUrl'>
<b:with value='data:post.thumbnailUrl ? resizeImage(data:post.firstImageUrl, 400, &quot;1:1&quot;) : data:post.firstImageUrl' var='image'>
<div expr:class='&quot;separator cover-item&quot; + (data:post.thumbnailUrl ? &quot; ratio-square&quot; : &quot; ratio-none&quot;)'>
<b:class cond='data:image contains &quot;googleusercontent.com/proxy/&quot;' name='ratio-youtube'/>
<b:class cond='data:image contains &quot;googleusercontent.com/blogger_img_proxy/&quot;' name='ratio-youtube'/>
<b:if cond='data:postBodySnippet.size == 0'>
<b:class name='full-cover'/>
<b:else/>
Expand Down

0 comments on commit cc8e3a6

Please sign in to comment.