wrap image post link
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aadil Ayub 2021-07-07 03:39:31 +05:00
parent 348b26bee6
commit 98dc020dc5

View File

@ -4,7 +4,7 @@
<hr> <hr>
{{ range .Pages.ByPublishDate.Reverse }} {{ range .Pages.ByPublishDate.Reverse }}
<div class="blog-listing"> <div class="blog-listing">
<img src="{{ with .Params.image }}{{ . }}{{ end }}" alt=""> <a href="{{ .RelPermalink }}"><img src="{{ with .Params.image }}{{ . }}{{ end }}" alt=""></a>
<div class="text"> <div class="text">
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3> <h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{/* partial "metadata.html" . */}} {{/* partial "metadata.html" . */}}