forked from newscoop/theme-TheStun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
front.tpl
49 lines (33 loc) · 1.42 KB
/
front.tpl
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
{{ include file='_tpl/_header.tpl' }}
<div id="page_content">
{{ list_playlist_articles name="Front page" length="1" }}
<div id="frontpage-headline">
<a href="{{ uri options="article" }}"><h1>{{ $gimme->article->name }}</h1></a>
</div>
<div id="frontpage-image">
{{ image rendition="headline-right" }}
<img src="{{ $image->src }}" width="{{ $image->width }}" height="{{ $image->height }}" alt="{{ $image->caption }}" />
<p id="caption">{{ $image->caption }}</p>
{{ /image }}
</div>
<div id="frontpage-deck">
{{ $gimme->article->deck }}
</div>
<div id="frontpage-authors">
<p><em>{{ list_article_authors }}
{{ if $gimme->current_list->at_beginning }}By {{ /if }}
{{ if $gimme->current_list->at_end }}
{{ if $gimme->current_list->index > 1 }} and {{ /if }}
{{ else }}
{{ if $gimme->current_list->index > 1 }}, {{ /if }}
{{ /if }}
{{ if $gimme->author->user->defined }}<a href="{{ $view->url(['username' => $gimme->author->user->uname], 'user') }}">{{ /if }}
{{ $gimme->author->name }}{{ if $gimme->author->user->defined }}</a>{{ /if }}{{ if $gimme->current_list->at_end }}. {{ /if }}
{{ /list_article_authors }}</em></p>
</div>
<div id="frontpage-body">
{{ $gimme->article->full_text }}
</div>
{{ /list_playlist_articles }}
</div> <!-- end #page_content -->
{{ include file='_tpl/_footer.tpl' }}