forked from newscoop/theme-Liquid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathissue.tpl
52 lines (36 loc) · 1.23 KB
/
issue.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
50
51
52
{{extends file="layout.tpl"}}
{{block content}}
<div class="bloger_news_items">
<div>
<h1>{{ $gimme->issue->name }}</h1>
{{ list_sections }}
<h2 class="title">{{ $gimme->section->name }}</h2>
<ul>
{{ list_articles constraints="type not poll" }}
<li class="news_item">
{{ image rendition="section" }}
<a href="{{url options="article"}}" class="thumbnail">
<img src="{{ $image->src }}" alt="{{ $image->caption }} (photo: {{ $image->photographer }})" />
</a>
{{/image}}
<div class="content content_text">
<h6 class="info">{{list_article_authors}}
{{if $gimme->current_list->index!=1}}, {{/if}}
{{ if $gimme->author->biography->first_name }}
{{ $gimme->author->biography->first_name }} {{
$gimme->author->biography->last_name }}
{{ else }}
{{ $gimme->author->name }}
{{ /if }}
{{if $gimme->current_list->at_end}}
- {{/if}}{{/list_article_authors}}{{ $gimme->article->publish_date|camp_date_format:"%d.%m.%Y, %H:%i" }}</h6>
<h3 class="title"><a href="{{url options="article"}}">{{$gimme->article->name}}</a></h3>
<p>{{$gimme->article->deck|strip_tags}}</p>
</div>
</li>
{{ /list_articles }}
</ul>
{{ /list_sections }}
</div>
</div>
{{/block}}