-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathentry.twig
55 lines (36 loc) · 1.25 KB
/
entry.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
{% include "_header.twig" %}
<h1>{{ record.title }} - !!! entry template</h1>
<div class="content p-entry" role="content">
<article>
{% if record.image!="" %}
<div class="fullWidthTop">
<a href="{{ image(record.image) }}">
<img class="image--fullWidth" src="{{ record.image|thumbnail(1200,400) }}" title="{{ image.title }}">
</a>
</div>
{% endif %}
{{ record.teaser }}
{% if record.video is not empty %}
{{ record.video.responsive }}
{% endif %}
{{ record.body }}
{% include '_recordfooter.twig' with {'record': record} %}
{% if Disqus is defined %}
<h4>Leave a comment</h4>
{{ Disqus.disqus() }}
{% elseif FacebookComments is defined %}
<h4>Leave a comment</h4>
{{ FacebookComments.facebookComments() }}
{% endif %}
<div class="articleMeta clearfix">
{% set previous = record.previous("id") %}
{% if previous %}
<a href="{{ previous.link }}" class="p-record-previous">« {{ previous.title }}</a>
{% endif %}
{% set next = record.next("id") %}
{% if next %}
<a href="{{ next.link }}" class="p-record-next">{{ next.title }} »</a>
{% endif %}
</div>
</article>
{% include "_footer.twig" %}