Skip to content

Commit

Permalink
Fixed alt text
Browse files Browse the repository at this point in the history
  • Loading branch information
x1y committed Mar 1, 2024
1 parent 2817f81 commit 564fb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/pinetheme/layouts/shortcodes/box_news.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1>{{ .Get "title" }}</h1>
<div class="box f50 themeblogpreview l400 index_news">
<a href="{{ .RelPermalink }}" aria-label="A news box linking to a blog post">
{{if and (isset .Params.cover "image") (ne .Params.cover.image "") }}
<img src="/{{$type}}/images/{{ .Params.cover.image }}"/>
<img src="/{{$type}}/images/{{ .Params.cover.image }}" alt="Image of the post {{ .Title }}">
{{end}}

<div class="pad_s">
Expand Down

0 comments on commit 564fb78

Please sign in to comment.