diff options
Diffstat (limited to 'layouts/projects/list.html')
-rw-r--r-- | layouts/projects/list.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/layouts/projects/list.html b/layouts/projects/list.html index 37480ea..0bbe8b6 100644 --- a/layouts/projects/list.html +++ b/layouts/projects/list.html @@ -15,6 +15,7 @@ {{ end}} <div class="column {{ $columWidth }}"> <div class="card"> + {{ if .Resources.ByType "image" }} <div class="card-image"> <figure class="image is-3by2"> <a href="{{ if .Params.external_link }}{{ .Params.external_link }}{{ else }}{{ .Permalink }}{{ end }}"> @@ -27,10 +28,11 @@ </a> </figure> </div> + {{ end }} <div class="card-content has-text-centered top-pad"> - <a href="{{ if .Params.external_link }}{{ .Params.external_link }}{{ else }}{{ .Permalink }}{{ end }}"> - {{ .Title }} - </a> + <h1><a href="{{ if .Params.external_link }}{{ .Params.external_link }}{{ else }}{{ .Permalink }}{{ end }}"> + {{ .Title | markdownify }} + </a></h1> </div> </div> </div> |