mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 09:12:47 +00:00
Remove grow from featured image on the preview.
This commit is contained in:
parent
33d202b7c6
commit
dceb73a24e
@ -6,7 +6,7 @@
|
|||||||
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
|
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
|
||||||
{{ $featured_image := (trim $featured_image "/") | absURL }}
|
{{ $featured_image := (trim $featured_image "/") | absURL }}
|
||||||
<div class="pr3-ns mb4 mb0-ns w-100 w-40-ns">
|
<div class="pr3-ns mb4 mb0-ns w-100 w-40-ns">
|
||||||
<a href="{{.URL}}" class="db grow">
|
<a href="{{.URL}}" class="db">
|
||||||
<img src="{{ $featured_image }}" class="img" alt="image from {{ .Title }}">
|
<img src="{{ $featured_image }}" class="img" alt="image from {{ .Title }}">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user