Add titles to links in list
Makes it obvious what the link is doing
This commit is contained in:
parent
92ea26dd20
commit
a22dfd85e9
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<div class="media list-page-item mb-3" data-id="{{ .File.UniqueID }}">
|
<div class="media list-page-item mb-3" data-id="{{ .File.UniqueID }}">
|
||||||
{{ if .Params.image }}
|
{{ if .Params.image }}
|
||||||
<div class="d-none d-md-block align-self-center img-wrapper mr-3">
|
<div class="d-none d-md-block align-self-center img-wrapper mr-3">
|
||||||
<a href="{{ .RelPermalink }}">
|
<a href="{{ .RelPermalink }}" title="{{ .Title }}">
|
||||||
{{ .Scratch.Set "image" .Params.image }}
|
{{ .Scratch.Set "image" .Params.image }}
|
||||||
{{ if hasPrefix .Params.image "resource:" }}
|
{{ if hasPrefix .Params.image "resource:" }}
|
||||||
{{ $resource := .Resources.GetMatch (replace .Params.image "resource:" "") }}
|
{{ $resource := .Resources.GetMatch (replace .Params.image "resource:" "") }}
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<a href="{{ .RelPermalink }}">
|
<a href="{{ .RelPermalink }}" title="{{ .Title }}">
|
||||||
<h5 class="my-0">{{ .Title }}</h5>
|
<h5 class="my-0">{{ .Title }}</h5>
|
||||||
</a>
|
</a>
|
||||||
<small>{{ partial "content-details.html" . }}</small>
|
<small>{{ partial "content-details.html" . }}</small>
|
||||||
|
|
Loading…
Reference in a new issue