Fix: hero alt images has now more text (50chars instead of 10)
parent
80291c2ff0
commit
eae84469b2
|
@ -7,7 +7,7 @@
|
|||
{{ if .Params.image }}
|
||||
<div class="hero-img" >
|
||||
<img src="heros/{{ .Params.image }}"
|
||||
alt="{{ .Content | plainify | htmlUnescape | truncate 10 }}" />
|
||||
alt="{{ .Content | plainify | htmlUnescape | truncate 50 }}" />
|
||||
</div>
|
||||
<h2 class="hero-title">{{ .Content }}</h2>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue