diff options
Diffstat (limited to 'templates/layouts/index.html')
-rw-r--r-- | templates/layouts/index.html | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/templates/layouts/index.html b/templates/layouts/index.html index b2ccaa6..9b43503 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html | |||
@@ -20,14 +20,27 @@ | |||
20 | 20 | ||
21 | <div class="l-card-grid"> | 21 | <div class="l-card-grid"> |
22 | $for(profiles)$ | 22 | $for(profiles)$ |
23 | <div class="c-card"> | 23 | $if(it.url)$ |
24 | <div class="c-card__content"> | 24 | <a class="c-card" href="$it.url$"> |
25 | <div> | 25 | $else$ |
26 | <strong class="u-db">$it.platform$</strong> | 26 | <div class="c-card"> |
27 | <small class="u-db">$it.username$</small> | 27 | $endif$ |
28 | <div class="c-card__content"> | ||
29 | <div> | ||
30 | <strong class="u-db">$it.platform$</strong> | ||
31 | <small class="u-db">$it.username$</small> | ||
32 | </div> | ||
33 | $if(it.url)$ | ||
34 | <svg class="c-card__icon o-icon"> | ||
35 | <use href="#icon-link-external"></use> | ||
36 | </svg> | ||
37 | $endif$ | ||
28 | </div> | 38 | </div> |
39 | $if(it.url)$ | ||
40 | </a> | ||
41 | $else$ | ||
29 | </div> | 42 | </div> |
30 | </div> | 43 | $endif$ |
31 | $endfor$ | 44 | $endfor$ |
32 | </div> | 45 | </div> |
33 | 46 | ||