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