Skip to content

Commit

Permalink
Make images clickable in row layout
Browse files Browse the repository at this point in the history
Fixes #134

Signed-off-by: Matt Stratton <[email protected]>
  • Loading branch information
mattstratton committed Feb 10, 2018
1 parent fd2b944 commit 79b63e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
7 changes: 0 additions & 7 deletions config.codekit3
Original file line number Diff line number Diff line change
Expand Up @@ -40977,13 +40977,6 @@
"oAP": "\/exampleSite\/.gitignore",
"oF": 0
},
"\/exampleSite\/config.toml": {
"cB": 0,
"ft": 8192,
"oA": 2,
"oAP": "\/exampleSite\/config.toml",
"oF": 0
},
"\/exampleSite\/content\/about\/about.md": {
"cB": 0,
"cS": 0,
Expand Down
6 changes: 3 additions & 3 deletions layouts/partials/row.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2>
</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">
Expand All @@ -75,7 +75,7 @@ <h2>
{{- 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") -}}
Expand Down Expand Up @@ -148,7 +148,7 @@ <h2>
<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") -}}
Expand Down

0 comments on commit 79b63e6

Please sign in to comment.