diff options
author | Volpeon <git@volpeon.ink> | 2021-11-11 09:14:38 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-11 09:14:38 +0100 |
commit | 19d3eb0bdfe505715d3b9f62a3cf8d340291a144 (patch) | |
tree | c5fc53d5d7f211e774e43e3ec217bd0335b56ed4 /templates/layouts/index.html | |
parent | Make footer sticky again, fix blobfox and bunhd URLs (diff) | |
download | volpeon.ink-19d3eb0bdfe505715d3b9f62a3cf8d340291a144.tar.gz volpeon.ink-19d3eb0bdfe505715d3b9f62a3cf8d340291a144.tar.bz2 volpeon.ink-19d3eb0bdfe505715d3b9f62a3cf8d340291a144.zip |
Show profiles on home page again; general updates
Diffstat (limited to 'templates/layouts/index.html')
-rw-r--r-- | templates/layouts/index.html | 43 |
1 files changed, 40 insertions, 3 deletions
diff --git a/templates/layouts/index.html b/templates/layouts/index.html index a7b68c3..838f570 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html | |||
@@ -3,11 +3,48 @@ | |||
3 | $body$ | 3 | $body$ |
4 | </div> | 4 | </div> |
5 | 5 | ||
6 | <div id="projects" class="c-post-list c-post-list--grid"> | 6 | <div class="c-card-list"> |
7 | <div class="c-post-list__category-content"> | 7 | <h2 class="c-card-list__category-header"> |
8 | Profiles | ||
9 | </h2> | ||
10 | <div class="c-card-list__category-content c-card-list__category-content--grid"> | ||
11 | $for(profiles)$ | ||
12 | $if(it.featured)$ | ||
13 | $if(it.url)$ | ||
14 | <a class="c-card-list__card c-card" href="$it.url$"> | ||
15 | $else$ | ||
16 | <div class="c-card-list__card c-card"> | ||
17 | $endif$ | ||
18 | $if(it.icon)$ | ||
19 | <svg class="c-card__block o-icon"> | ||
20 | <use href="/symbols.svg#icon-$it.icon$"></use> | ||
21 | </svg> | ||
22 | $endif$ | ||
23 | <div class="c-card__block c-card__block--main"> | ||
24 | <strong class="u-db">$it.platform$</strong> | ||
25 | <small class="u-db">$it.username$</small> | ||
26 | </div> | ||
27 | $if(it.url)$ | ||
28 | <svg class="c-card__block o-icon"> | ||
29 | <use href="/symbols.svg#icon-arrow-up-right"></use> | ||
30 | </svg> | ||
31 | $endif$ | ||
32 | $if(it.url)$ | ||
33 | </a> | ||
34 | $else$ | ||
35 | </div> | ||
36 | $endif$ | ||
37 | $endif$ | ||
38 | $endfor$ | ||
39 | </div> | ||
40 | |||
41 | <h2 class="c-card-list__category-header"> | ||
42 | <a href="$pages.by_id.projects.url.rel$">$pages.by_id.projects.title$</a> | ||
43 | </h2> | ||
44 | <div class="c-card-list__category-content c-card-list__category-content--grid"> | ||
8 | $for(pages.by_id.projects.pages.all)$ | 45 | $for(pages.by_id.projects.pages.all)$ |
9 | $for(it.pages.all)$ | 46 | $for(it.pages.all)$ |
10 | <a href="$it.url.rel$" class="c-post-list__post c-card"> | 47 | <a href="$it.url.rel$" class="c-card-list__card c-card"> |
11 | $if(pages.by_id.projects.pages.all.icon)$ | 48 | $if(pages.by_id.projects.pages.all.icon)$ |
12 | <svg class="c-card__block o-icon"> | 49 | <svg class="c-card__block o-icon"> |
13 | <use href="/symbols.svg#icon-$pages.by_id.projects.pages.all.icon$"></use> | 50 | <use href="/symbols.svg#icon-$pages.by_id.projects.pages.all.icon$"></use> |