Fix: hero alt images has now more text (50chars instead of 10)

feature/oscar-theme
Óscar M. Lage 2022-03-11 23:15:50 +01:00
parent 80291c2ff0
commit eae84469b2
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}