diff options
author | Matt Stratton <matt.stratton@gmail.com> | 2018-02-10 18:48:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-10 18:48:22 +0300 |
commit | 0e8a59d674f73f7a74c63d5d0fc20c0013922af0 (patch) | |
tree | 96e1c2221f022350c1d8c220f3e14eb0021c070f /layouts/partials | |
parent | fd2b944a8cc3822aec19e678cc32f21bbb3e4638 (diff) |
Make images clickable in row layout (#143)
Fixes #134
Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/row.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/row.html b/layouts/partials/row.html index 11fd9aa..bc38222 100644 --- a/layouts/partials/row.html +++ b/layouts/partials/row.html @@ -56,7 +56,7 @@ </div> <div class = "row homepage_episode_row"> <div class = "col"> - <img src="{{ .Params.episode_banner | absURL }}" class="img-fluid episode_image"/> + <a href="{{ .Permalink }}"><img src="{{ .Params.episode_banner | absURL }}" class="img-fluid episode_image"/></a> </div> </div> <div class = "row homepage_episode_row"> @@ -75,7 +75,7 @@ {{- if .Params.episode_image -}} <div class = "row homepage_episode_row"> <div class = "col-md-3"> - <img class = "img-fluid" src = "{{ .Params.episode_image | absURL }}" /> + <a href="{{ .Permalink }}"><img class = "img-fluid" src = "{{ .Params.episode_image | absURL }}" /></a> </div> <div class = "col-md-8"> {{- if ge (countrunes .Description ) ($.Scratch.Get "truncate") -}} @@ -148,7 +148,7 @@ <div class = "row homepage_episode_row"> {{- if .Params.episode_image -}} <div class = "col-md-4"> - <img class = "img-fluid" src = "{{ .Params.episode_image | absURL }}" /> + <a href="{{ .Permalink }}"><img class = "img-fluid" src = "{{ .Params.episode_image | absURL }}" /></a> </div> <div class = "col-md-8"> {{- if ge (countrunes .Description ) ($.Scratch.Get "truncate") -}} |