-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrecord-sidebar-left.twig
executable file
·61 lines (51 loc) · 1.52 KB
/
record-sidebar-left.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
{% extends 'master.twig' %}
{% block bodyclass %}left-sidebar{% endblock bodyclass %}
{% block main %}
<!-- Main -->
<div id="main" class="wrapper style4">
<div class="container">
<div class="row">
<!-- Sidebar -->
<div id="sidebar" class="4u">
{{ widgets('aside_top') }}
<section>
<header class="major">
<h2>Latest Pages</h2>
</header>
<ul class="default">
{% setcontent pages = 'pages/latest/6' %}
{% for page in pages %}
<li><a href="{{ page.link }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
</section>
<section>
<header class="major">
<h2>Latest Entries</h2>
</header>
<ul class="default">
{% setcontent entries = 'entry/latest/6' %}
{% for entry in entries %}
<li><a href="{{ entry.link }}">{{ entry.title }}}</a></li>
{% endfor %}
</ul>
</section>
{{ widgets('aside_bottom') }}
</div>
<!-- Content -->
<div id="content" class="8u skel-cell-important">
<section>
<header class="major">
<h2>{{ record.title }}</h2>
<span class="byline">{{ record.slug }}</span>
</header>
<p>{{ record.teaser }}</p>
<p>{{ record.body }}</p>
<p>{{ record.teaser }}</p>
</section>
</div>
</div>
</div>
</div>
{% include '_team.twig' %}
{% endblock main %}