diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-12-18 20:47:06 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-12-18 20:47:06 +0800 |
| commit | a00f1820df23321dc532383aab59fab95db98915 (patch) | |
| tree | 3656077b6eaf34a1345b9ebf56e568dfeaadf599 /projects.html | |
| parent | f13a03dd9bb9a138d6f1d6fa068e7e1e146db020 (diff) | |
| download | www-a00f1820df23321dc532383aab59fab95db98915.tar.gz | |
Reduce thumbnail size and place link on the thumbnail.
Diffstat (limited to 'projects.html')
| -rw-r--r-- | projects.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/projects.html b/projects.html index 6800dcd..b24bc90 100644 --- a/projects.html +++ b/projects.html @@ -14,8 +14,10 @@ title: Projects {% for item in site.projects limit:n offset:offset %} <td class="project-item"> {% assign parts = item.url | split: '/' %} - <img src="{{ parts[2] }}/{{ item.thumbnail }}" alt="{{ item.title }}"> - <h5><a href="{{ parts[2] }}" class="link-decor-none">{{ item.title }}</a></h5> + <a href="{{ parts[2] }}" class="link-decor-none"> + <img src="{{ parts[2] }}/{{ item.thumbnail }}" alt="{{ item.title }}"> + <h5>{{ item.title }}</h5> + </a> </td> {% endfor %} </tr> |
