1
0
Fork 0

Make entire project card a link instead of just the title

This commit is contained in:
Owen Ryan 2023-07-19 20:52:00 -04:00
parent e4b1a6724c
commit 1483de98fd

View file

@ -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>