Make entire project card a link instead of just the title
This commit is contained in:
parent
e4b1a6724c
commit
1483de98fd
1 changed files with 3 additions and 3 deletions
|
@ -7,15 +7,15 @@ permalink: /projects
|
|||
<div class="row">
|
||||
{%- for post in site.posts -%}
|
||||
<div class="col p-2">
|
||||
<div class="card project-card">
|
||||
<a class="card project-card" href="{{ post.url }}" style="text-decoration: None;">
|
||||
{%- if post.thumbnail_url -%}
|
||||
<img src="{{ post.thumbnail_url }}" class="card-img-top" alt="{{ post.title }} thumbnail">
|
||||
{%- endif -%}
|
||||
<div class="card-body">
|
||||
<a class="card-title text-body-emphasis" href="{{ post.url }}">{{ post.title }}</a>
|
||||
<h3 class="card-title text-body-emphasis">{{ post.title }}</h3>
|
||||
<p class="card-text">{{ post.description }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
{%- endfor -%}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue