diff options
| author | Volpeon <git@volpeon.ink> | 2021-11-13 18:03:55 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-11-13 18:03:55 +0100 |
| commit | c20ea9f6922557db29061a5d53c067ab20c734b9 (patch) | |
| tree | 8db62241b809d73c51f9e7f8c3189638d9700c88 /templates/layouts/index.html | |
| parent | Fix persistent scrollbar (diff) | |
| download | volpeon.ink-c20ea9f6922557db29061a5d53c067ab20c734b9.tar.gz volpeon.ink-c20ea9f6922557db29061a5d53c067ab20c734b9.tar.bz2 volpeon.ink-c20ea9f6922557db29061a5d53c067ab20c734b9.zip | |
Improved list generation, remove index template
Diffstat (limited to 'templates/layouts/index.html')
| -rw-r--r-- | templates/layouts/index.html | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/templates/layouts/index.html b/templates/layouts/index.html deleted file mode 100644 index 1eca10f..0000000 --- a/templates/layouts/index.html +++ /dev/null | |||
| @@ -1,67 +0,0 @@ | |||
| 1 | <section class="l-container l-container--pad-x l-container--pad-y l-container--content"> | ||
| 2 | <div class="s-headlines s-colored-links"> | ||
| 3 | <h1 class="u-mt0"><span class="s-headlines__title-inner">I'm a <strong>red fox</strong> in disguise.</span></h1> | ||
| 4 | |||
| 5 | $body$ | ||
| 6 | </div> | ||
| 7 | |||
| 8 | <div class="c-card-list"> | ||
| 9 | <h2 class="c-card-list__category-header"> | ||
| 10 | Profiles | ||
| 11 | </h2> | ||
| 12 | <div class="c-card-list__category-content c-card-list__category-content--grid"> | ||
| 13 | $for(profiles)$ | ||
| 14 | $if(it.featured)$ | ||
| 15 | $if(it.url)$ | ||
| 16 | <a class="c-card-list__card c-card" href="$it.url$"> | ||
| 17 | $else$ | ||
| 18 | <div class="c-card-list__card c-card"> | ||
| 19 | $endif$ | ||
| 20 | $if(it.icon)$ | ||
| 21 | <svg class="c-card__block o-icon" width="1em" height="1em"> | ||
| 22 | <use href="/symbols.svg#icon-$it.icon$"></use> | ||
| 23 | </svg> | ||
| 24 | $endif$ | ||
| 25 | <div class="c-card__block c-card__block--main"> | ||
| 26 | <strong class="u-db">$it.platform$</strong> | ||
| 27 | <small class="u-db">$it.username$</small> | ||
| 28 | </div> | ||
| 29 | $if(it.url)$ | ||
| 30 | <svg class="c-card__block o-icon" width="1em" height="1em"> | ||
| 31 | <use href="/symbols.svg#icon-arrow-up-right"></use> | ||
| 32 | </svg> | ||
| 33 | $endif$ | ||
| 34 | $if(it.url)$ | ||
| 35 | </a> | ||
| 36 | $else$ | ||
| 37 | </div> | ||
| 38 | $endif$ | ||
| 39 | $endif$ | ||
| 40 | $endfor$ | ||
| 41 | </div> | ||
| 42 | |||
| 43 | <h2 class="c-card-list__category-header"> | ||
| 44 | <a href="$pages.by_id.projects.url.rel$">$pages.by_id.projects.title$</a> | ||
| 45 | </h2> | ||
| 46 | <div class="c-card-list__category-content c-card-list__category-content--grid"> | ||
| 47 | $for(pages.by_id.projects.pages.all)$ | ||
| 48 | $for(it.pages.all)$ | ||
| 49 | <a href="$it.url.rel$" class="c-card-list__card c-card"> | ||
| 50 | $if(pages.by_id.projects.pages.all.icon)$ | ||
| 51 | <svg class="c-card__block o-icon" width="1em" height="1em"> | ||
| 52 | <use href="/symbols.svg#icon-$pages.by_id.projects.pages.all.icon$"></use> | ||
| 53 | </svg> | ||
| 54 | $endif$ | ||
| 55 | <div class="c-card__block c-card__block--main"> | ||
| 56 | <small class="u-db">$pages.by_id.projects.pages.all.title$</small> | ||
| 57 | <strong class="u-db">$it.title$</strong> | ||
| 58 | </div> | ||
| 59 | <svg class="c-card__block o-icon" width="1em" height="1em"> | ||
| 60 | <use href="/symbols.svg#icon-arrow-right"></use> | ||
| 61 | </svg> | ||
| 62 | </a> | ||
| 63 | $endfor$ | ||
| 64 | $endfor$ | ||
| 65 | </div> | ||
| 66 | </div> | ||
| 67 | </section> | ||
