summaryrefslogtreecommitdiffstats
path: root/templates/layouts/index.html
blob: a7b68c35664d3de8c1e6f853bc768e7e9fa2b855 (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
<section class="l-container l-container--pad-x l-container--pad-y l-container--content">
    <div class="s-headlines s-colored-links">
$body$
    </div>

    <div id="projects" class="c-post-list c-post-list--grid">
        <div class="c-post-list__category-content">
            $for(pages.by_id.projects.pages.all)$
                $for(it.pages.all)$
                    <a href="$it.url.rel$" class="c-post-list__post c-card">
                        $if(pages.by_id.projects.pages.all.icon)$
                            <svg class="c-card__block o-icon">
                                <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">
                            <use href="/symbols.svg#icon-arrow-right"></use>
                        </svg>
                    </a>
                $endfor$
            $endfor$
        </div>
    </div>
</section>