trying to prevent the featured image from extending too far on mobile
This commit is contained in:
parent
df64f03816
commit
520d44b13e
@ -14,7 +14,7 @@
|
|||||||
<time><em>Updated: {{ .Lastmod.Format "02 Jan 2006, 15:04" }} </em></time>
|
<time><em>Updated: {{ .Lastmod.Format "02 Jan 2006, 15:04" }} </em></time>
|
||||||
</div>
|
</div>
|
||||||
{{ if isset .Params "image" }}
|
{{ if isset .Params "image" }}
|
||||||
<div>
|
<div style="width:100%">
|
||||||
<img class="featured-image" src="{{ $.Site.Params.blogCdnUrl }}{{ with .Params.image }}{{ . }}{{ end }}"/>
|
<img class="featured-image" src="{{ $.Site.Params.blogCdnUrl }}{{ with .Params.image }}{{ . }}{{ end }}"/>
|
||||||
</div>
|
</div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
Loading…
Reference in New Issue
Block a user