diff options
| author | Volpeon <git@volpeon.ink> | 2021-05-11 21:48:43 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-05-11 21:48:43 +0200 |
| commit | db4e8deae9f336bb06b33a0938dfbca0f12e8dfe (patch) | |
| tree | e3432de298817259cd2d5d30c8021ecc0442f139 /templates/layouts | |
| parent | Simplified metadata processing, improved design (diff) | |
| download | volpeon.ink-db4e8deae9f336bb06b33a0938dfbca0f12e8dfe.tar.gz volpeon.ink-db4e8deae9f336bb06b33a0938dfbca0f12e8dfe.tar.bz2 volpeon.ink-db4e8deae9f336bb06b33a0938dfbca0f12e8dfe.zip | |
Make whole post clickable in post list
Diffstat (limited to 'templates/layouts')
| -rw-r--r-- | templates/layouts/categorized_list.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 0b445ee..60729bd 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
| @@ -12,17 +12,17 @@ $body$ | |||
| 12 | $it.name$ | 12 | $it.name$ |
| 13 | </h2> | 13 | </h2> |
| 14 | $for(it.pages)$ | 14 | $for(it.pages)$ |
| 15 | <div class="c-post-list__post"> | 15 | <a href="$it.url.rel$" class="c-post-list__post"> |
| 16 | <a href="$it.url.rel$" class="c-post-list__post-title"> | 16 | <span class="c-post-list__post-title"> |
| 17 | $it.title$ | 17 | $it.title$ |
| 18 | </a> | 18 | </span> |
| 19 | 19 | ||
| 20 | $if(it.category.show_date)$ | 20 | $if(it.category.show_date)$ |
| 21 | <time datetime="$it.date.yyyy_mm_dd$" class="c-post-list__post-date"> | 21 | <time datetime="$it.date.yyyy_mm_dd$" class="c-post-list__post-date"> |
| 22 | $it.date.long$ | 22 | $it.date.long$ |
| 23 | </time> | 23 | </time> |
| 24 | $endif$ | 24 | $endif$ |
| 25 | </div> | 25 | </a> |
| 26 | $endfor$ | 26 | $endfor$ |
| 27 | $endfor$ | 27 | $endfor$ |
| 28 | </div> | 28 | </div> |
