forked from damnlie/bolt-theme-easy_start
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.twig
83 lines (64 loc) · 3.87 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
{% include '_header.twig' %}
<div class="row-fluid">
<div class="span12">
<div id="headerSeparator"></div>
<div class="row-fluid">
<div class="span6">
<div id="divHeaderText" class="page-content">
{% if theme.headertext is defined %}
<div id="divHeaderLine1">{{ theme.headertext }}</div><br />
{% else %}
<div id="divHeaderLine1">{{ ('No headertext yet') }}</div><br />
{% endif %}
{% if theme.secondlineheader is defined %}
<div id="divHeaderLine2">{{ theme.secondlineheader }}</div><br />
{% else %}
<div id="divHeaderLine2">{{ ('No second line header text yet') }}</div><br />
{% endif %}
{% if theme.secondarybuttontext is defined and theme.primarybuttontext is defined %}
<div id="divHeaderLine3"><a class="btn btn-large btn-secondary" href="{{ theme.secondarybuttonlink }}">{{ theme.secondarybuttontext }}</a> <a class="btn btn-large btn-primary" href="{{ theme.primarybuttonlink }}">{{ theme.primarybuttontext }}</a></div>
{% else %}
<div id="divHeaderLine3"><a class="btn btn-large btn-secondary" href="{{ theme.secondarybuttonlink }}">{{ ('Button A') }}</a> <a class="btn btn-large btn-primary" href="{{ theme.primarybuttonlink }}">{{ ('Button B') }}</a></div>
{% endif %}
</div>
</div>
<div class="span6">
{% setcontent fpimages='frontpageimage/latest/3' %}
{% if fpimage.title is defined %}
<div id="camera_wrap">
{% for fpimage in fpimages %}
<div data-src="{{ fpimage.image|thumbnail(531,345) }}" ><div class="camera_caption fadeFromBottom cap2">{{ fpimage.title }}</div> </div>
{% endfor %}
</div>
{% else %}
<div id="camera_wrap">
<div data-src="{{ paths.theme }}/images/kacsa.jpg" ><div class="camera_caption fadeFromBottom cap2">This is just a duck</div> </div>
<div data-src="{{ paths.theme }}/images/kekmadar.jpg" ><div class="camera_caption fadeFromBottom cap2">This is just a nice, blue bird</div> </div>
</div>
{% endif %}
</div>
</div>
<div id="headerSeparator2"></div>
</div>
</div>
</div>
<div class="contentArea">
<div class="divPanel notop page-content">
<div class="row-fluid">
<div class="span12" id="divMain">
<div class="row-fluid">
{% setcontent stuffs='page' limit 3 orderby '-datechanged' %}
{% for stuff in stuffs %}
<div class="span4">
<h2>{{ stuff.title }}</h2>
{%if stuff.image %}<img src="{{ stuff.image|thumbnail(150,90,c) }}" class="img-polaroid" style="margin:5px 0px 15px;">{% endif %}
{{ stuff.teaser }}<br /><a href="{{ stuff.link }}">Read More »</a>
</div>
{% endfor %}
</div>
</div>
</div>
<div id="footerInnerSeparator"></div>
</div>
</div>
{% include '_footer.twig' %}