summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-04-21 09:30:57 +0200
committerVolpeon <git@volpeon.ink>2021-04-21 09:30:57 +0200
commit3f555a99df814eab7bf79ddf6942fb53c9aca87d (patch)
tree6b7b6e4e0b3f69bcd853469db65dff7afce74167 /templates
parentFixed blobfox preview (diff)
downloadvolpeon.ink-3f555a99df814eab7bf79ddf6942fb53c9aca87d.tar.gz
volpeon.ink-3f555a99df814eab7bf79ddf6942fb53c9aca87d.tar.bz2
volpeon.ink-3f555a99df814eab7bf79ddf6942fb53c9aca87d.zip
Make whole project clickable instead of just the card within
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/layouts/index.html b/templates/layouts/index.html
index d1821f2..c9c695a 100644
--- a/templates/layouts/index.html
+++ b/templates/layouts/index.html
@@ -66,11 +66,11 @@ $body$
66 66
67 <div class="l-container l-container--pad-x l-container--pad-y l-project-grid"> 67 <div class="l-container l-container--pad-x l-container--pad-y l-project-grid">
68 $for(subsections.projects.pages)$ 68 $for(subsections.projects.pages)$
69 <div class="c-project"> 69 <a class="c-project" href="$it.url.rel$">
70 $if(it.preview)$ 70 $if(it.preview)$
71 <img class="c-project__picture" src="$it.preview.rel$" /> 71 <img class="c-project__picture" src="$it.preview.rel$" />
72 $endif$ 72 $endif$
73 <a class="c-project__card c-card" href="$it.url.rel$"> 73 <div class="c-project__card c-card">
74 <div class="c-card__content"> 74 <div class="c-card__content">
75 <small class="u-db">$it.category.name$</small> 75 <small class="u-db">$it.category.name$</small>
76 <strong class="u-db">$it.title$</strong> 76 <strong class="u-db">$it.title$</strong>
@@ -78,8 +78,8 @@ $body$
78 <svg class="c-card__icon o-icon"> 78 <svg class="c-card__icon o-icon">
79 <use href="#icon-arrow-right"></use> 79 <use href="#icon-arrow-right"></use>
80 </svg> 80 </svg>
81 </a> 81 </div>
82 </div> 82 </a>
83 $endfor$ 83 $endfor$
84 </div> 84 </div>
85</section> 85</section>