/
production.tt
31 lines (26 loc) · 929 Bytes
/
production.tt
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
[% title = production.title -%]
[% INCLUDE header.tt -%]
<script type="application/ld+json">
[% production.json_ld %]</script>
<p class="text-muted">Production</p>
<h1 class="display-3">[% production.title %]</h1>
<p>[% production.description %]<p>
<p>Based on
<a href="/works/[% production.work.slug %]/">[% production.work.title %]</a> by
[% FOR a IN production.work.authors %]
<a href="/authors/[% a.slug %]/">[% a.name %]</a>
[% END %]</p>
<p><a href="http://imdb.com/title/[% production.imdb %]">[% production.title %] on IMDB</a></p>
<h3>Cast</h3>
[% IF production.actor_roles.size %]
<ul>
[% FOR a IN production.actor_roles %]
<li><a href="/actors/[% a.actor.slug %]/">[% a.actor.name %]</a>
as <a href="/characters/[% a.character.slug %]/">[% a.character.name %]</a></li>
[% END %]
</ul>
[% ELSE %]
<p>No cast found.</p>
[% END %]
[% INCLUDE amazon.tt type='DVD', search=production.title %]
[% INCLUDE footer.tt -%]