summaryrefslogtreecommitdiffstats
path: root/templates/layouts/index.html
blob: 1eca10faab4f6379240212455238ee22d407e73e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<section class="l-container l-container--pad-x l-container--pad-y l-container--content">
    <div class="s-headlines s-colored-links">
        <h1 class="u-mt0"><span class="s-headlines__title-inner">I'm a <strong>red fox</strong> in disguise.</span></h1>

$body$
    </div>

    <div class="c-card-list">
        <h2 class="c-card-list__category-header">
            Profiles
        </h2>
        <div class="c-card-list__category-content c-card-list__category-content--grid">
            $for(profiles)$
                $if(it.featured)$
                    $if(it.url)$
                        <a class="c-card-list__card c-card" href="$it.url$">
                    $else$
                        <div class="c-card-list__card c-card">
                    $endif$
                        $if(it.icon)$
                            <svg class="c-card__block o-icon" width="1em" height="1em">
                                <use href="/symbols.svg#icon-$it.icon$"></use>
                            </svg>
                        $endif$
                        <div class="c-card__block c-card__block--main">
                            <strong class="u-db">$it.platform$</strong>
                            <small class="u-db">$it.username$</small>
                        </div>
                        $if(it.url)$
                            <svg class="c-card__block o-icon" width="1em" height="1em">
                                <use href="/symbols.svg#icon-arrow-up-right"></use>
                            </svg>
                        $endif$
                    $if(it.url)$
                        </a>
                    $else$
                        </div>
                    $endif$
                $endif$
            $endfor$
        </div>

        <h2 class="c-card-list__category-header">
            <a href="$pages.by_id.projects.url.rel$">$pages.by_id.projects.title$</a>
        </h2>
        <div class="c-card-list__category-content c-card-list__category-content--grid">
            $for(pages.by_id.projects.pages.all)$
                $for(it.pages.all)$
                    <a href="$it.url.rel$" class="c-card-list__card c-card">
                        $if(pages.by_id.projects.pages.all.icon)$
                            <svg class="c-card__block o-icon" width="1em" height="1em">
                                <use href="/symbols.svg#icon-$pages.by_id.projects.pages.all.icon$"></use>
                            </svg>
                        $endif$
                        <div class="c-card__block c-card__block--main">
                            <small class="u-db">$pages.by_id.projects.pages.all.title$</small>
                            <strong class="u-db">$it.title$</strong>
                        </div>
                        <svg class="c-card__block o-icon" width="1em" height="1em">
                            <use href="/symbols.svg#icon-arrow-right"></use>
                        </svg>
                    </a>
                $endfor$
            $endfor$
        </div>
    </div>
</section>