-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.twig
executable file
·93 lines (84 loc) · 2.56 KB
/
index.twig
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{% extends 'master.twig' %}
{% block bodyclass %}homepage{% endblock bodyclass %}
{% block banner %}
<!-- Banner -->
<div id="banner">
<section class="container">
<h2>Solarize</h2>
<span>Design by Templated</span>
<p>Pellentesque pede. Donec pulvinar ullamcorper metus. In eu odio at lectus pulvinar mollis. Vestibulum sem magna.</p>
</section>
</div>
</div>
{% endblock banner %}
{% block main %}
<!-- Section One -->
<div class="wrapper style2">
<section class="container">
<div class="row double">
<div class="6u">
<header class="major">
<h2>{{ record.title }}</h2>
{% if record.image is defined and record.image is not empty %}
<div class="large-5 columns imageholder">
<a href="{{ image(record.image) }}">
<img src="{{ thumbnail(record.image, 300, 250) }}">
</a>
</div>
{% endif %}
<span class="byline">{{ record.teaser }}</span>
</header>
</div>
<div class="6u">
<h3>{{ record.title }}</h3>
<p>{{ record.teaser }}</p>
<a href="#" class="button">{{ record.title }}</a>
</div>
</div>
</section>
</div>
<!-- Section Two -->
<div class="wrapper style3">
<section class="container">
<header class="major">
<h2>{{ record.title }}</h2>
</header>
<p>{{ record.teaser }}</p>
<a href="#" class="button alt">{{ record.title }}</a>
</section>
</div>
<!-- Section Three -->
<div class="wrapper style4">
<section class="container">
<header class="major">
<h2>{{ record.title }}</h2>
<span class="byline">{{ record.slug }}</span>
</header>
<div class="row flush">
{% setcontent pages = 'pages/latest/3' %}
{% for page in pages %}
<div class="4u">
<ul class="special-icons">
<li>
<span class="fa fa-cogs"></span>
<h3>{{ page.slug }}</h3>
<p>{{ page.teaser }}</p>
</li>
<li>
<span class="fa fa-wrench"></span>
<h3>{{ page.slug }}</h3>
<p>{{ page.teaser }}</p>
</li>
<li>
<span class="fa fa-leaf"></span>
<h3>{{ page.slug }}</h3>
<p>{{ page.teaser }}</p>
</li>
</ul>
</div>
{% endfor %}
</div>
</section>
</div>
{% include '_team.twig' %}
{% endblock main %}