-
Notifications
You must be signed in to change notification settings - Fork 0
/
storytext.thtml
300 lines (255 loc) · 8.43 KB
/
storytext.thtml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
{# begin {templatelocation} #}
{!if breadcrumbs}
<ul class="uk-breadcrumb">
<li><a href="{site_url}">{$LANG01[68]}</a></li>
<li ><a href="{story_topic_url}" title="{story_topic_description_text}">{story_topic_name}</a></li>
{!if story_alternate_topic_name}
<li ><a href="{alt_story_topic_url}" title="{story_alternate_topic_description}">{story_alternate_topic_name}</a></li>
{!endif}
</ul>
{!endif}
<div class="infinite-item uk-width-1-1">
{!!if {story_topid_name} == 'Video One' !!}
{# Begin Youtube Video Article #}
{!!if {story_display} == 'article' !!}
<article class="uk-article tm-article uk-margin-small-bottom" itemscope itemtype="https://schema.org/CreativeWork">
{!else}
<article class="uk-article tm-article uk-margin-large-bottom" itemscope itemtype="https://schema.org/CreativeWork">
{!endif}
<header>
<h1 class="uk-article-title tm-article-title uk-margin-bottom-remove" itemprop="headline">{story_title_link}</h1>
{!if story_subtitle}
{!if story_url}
<a itemprop="itemid" href="{story_url}">
{!endif}
<h4 class="uk-margin-top-remove">
<span class="tm-italic">{story_subtitle}</span>
</h4>
{!if story_url}
</a>
{!endif}
{!endif}
{!if story_image}
<a href="{story_text_no_br}" data-uk-lightbox>
<div class="uk-margin-bottom">
<img class="uk-thumbnail uk-thumbnail-expand" alt="" src="{story_image}" />
</div>
</a>
{!endif}
<ul class="uk-article-meta tm-article-meta uk-align-left uk-margin-remove">
{!if lang_by}
<li>{lang_by} {start_contributedby_anchortag}{contributedby_author}{end_contributedby_anchortag}</li>
{!endif}
{!if story_date}
<li><time datetime="{story_date}">{story_date}</time></li>
{!endif}
<li>
{lang_posted_in} <a href="{story_topic_url}">{story_topic_name}</a>
{!if story_alternate_topic_name}
, <a href="{alt_story_topic_url}">{story_alternate_topic_name}</a>
{!endif}
</li>
{!if comments_url}
<li><a class="uk-text" href="{comments_url}#comments" {comments_url_extra}>{comments_count}</a></li>
{!endif}
</ul>
<ul class="uk-article-meta uk-align-right uk-margin-remove tm-article-meta">
{!if email_story_url}
<li><a href="{email_story_url}" class="tm-meta-icon uk-icon-small uk-icon-envelope"></a></li>
{!endif}
{!if print_story_url}
<li><a href="{print_story_url}" target="_blank" class="tm-meta-icon uk-icon-small uk-icon-print"></a></li>
{!endif}
{!if edit_url}
<li><a href="{edit_url}" class="tm-meta-icon uk-icon-small uk-icon-edit"></a></li>
{!endif}
{!if plugin_meta_vars}
{plugin_meta_vars}
{!endif}
{plugin_icon_vars}
{!if feed_icon}
<li><a href="{feed_url}" class="tm-meta-icon uk-icon-small uk-icon-rss"></a></li>
{!endif}
</ul>
<div class="uk-clearfix"></div>
<hr>
</header>
{!if plugin_body_vars}
{plugin_body_vars}
{!endif}
{!if readmore_url}
<p class="tm-article-links">
<a class="uk-text" href="{readmore_url}">{lang_continue_reading} <i class="uk-icon-angle-double-right"></i></a>
</p>
{!endif}
{!!if {story_display} == 'article' !!}
{!if author_about}
<div class="uk-clearfix"></div>
<hr>
<article class="uk-comment tm-about-author uk-margin-small">
<header class="uk-comment-header tm-about-author-header uk-margin-top">
<img class="uk-comment-avatar tm-about-author-avatar uk-hidden-small" src="{author_photo_raw}" width="50" height="50" alt="">
<h4 class="uk-comment-title tm-about-author-title">{lang_by} {start_contributedby_anchortag}{contributedby_author}{end_contributedby_anchortag}</h4>
<div class="tm-about-author-bio">
{author_about}
<div class="uk-container uk-container-center uk-text-center">
{follow_me}
</div>
</div>
</header>
</article>
{!endif}
{!endif}
<div class="uk-clearfix"></div>
{!if rating_bar}
{rating_bar}
{!endif}
<div class="tm-article-footer">
{!if page_selector}
<p>{page_selector}</p>
{!endif}
{!if trackbacks_count}
{trackbacks_with_count}
{!endif}
{!if plugin_footer_vars}
<div>{plugin_footer_vars}</div>
{!endif}
</div>
</article>
{!else}
{# End Youtube Video Article #}
{# Regular Article #}
{!!if {story_display} == 'article' !!}
<article class="uk-article tm-article uk-margin-small-bottom uk-width-1-1">
{!else}
<article class="uk-article tm-article uk-margin-large-bottom uk-width-1-1">
{!endif}
<header>
<h1 class="uk-article-title tm-article-title uk-margin-bottom-remove">{story_title_link}</h2>
{!if story_subtitle}
{!if story_url}
<a href="{story_url}">
{!endif}
<h4 class="uk-margin-top-remove">
<span class="tm-italic">{story_subtitle}</span>
</h4>
{!if story_url}
</a>
{!endif}
{!endif}
{!if story_image}
{!if story_url}
<a href="{story_url}">
{!endif}
<div class="uk-margin-bottom">
<img itemprop="image" class="uk-thumbnail uk-thumbnail-expand" alt="" src="{story_image}" />
</div>
{!if story_url}
</a>
{!endif}
{!endif}
<ul class="uk-article-meta tm-article-meta uk-align-left uk-margin-remove">
{!!if {story_display} == 'article' !!}
{!if lang_by}
{!if attribution_author}
<li>{lang_by} <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{attribution_author}</span></span></li>
<li>{attribution_name}</li>
{!else}
{lang_by} {start_contributedby_anchortag}<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{contributedby_author}</span></span>{end_contributedby_anchortag}
{!endif}
{!endif}
{!if story_date}
<li itemprop="datePublished">{story_date}</li>
{!endif}
{!endif}
<li>
{lang_posted_in} <a href="{story_topic_url}" title="{story_topic_description_text}">{story_topic_name}</a>
{!if story_alternate_topic_name}
, <a href="{alt_story_topic_url}" title="{story_alternate_topic_description}">{story_alternate_topic_name}</a>
{!endif}
</li>
{!if comments_url}
<li><a class="uk-text" href="{comments_url}#comments" {comments_url_extra}><i class="uk-icon uk-icon-comments"></i> {comments_count}</a></li>
{!endif}
{!if trackbacks_url}
<li><a class="uk-text" href="{trackbacks_url}">{trackbacks_text}</a></li>
{!endif}
</ul>
<ul class="uk-article-meta uk-align-right uk-margin-remove tm-article-meta">
{!if email_story_url}
<li><a href="{email_story_url}" class="tm-meta-icon uk-icon-small uk-icon-envelope"></a></li>
{!endif}
{!if print_story_url}
<li><a href="{print_story_url}" target="_blank" class="tm-meta-icon uk-icon-small uk-icon-print"></a></li>
{!endif}
{!if edit_url}
<li><a href="{edit_url}" class="tm-meta-icon uk-icon-small uk-icon-edit"></a></li>
{!endif}
{!if plugin_meta_vars}
{plugin_meta_vars}
{!endif}
{plugin_icon_vars}
{!if feed_icon}
<li><a href="{feed_url}" class="tm-meta-icon uk-icon-small uk-icon-rss"></a></li>
{!endif}
</ul>
<div class="uk-clearfix"></div>
<hr>
</header>
<div class="uk-clearfix"></div>
{!if story_topic_image_url}
<a href="{topic_url}">
<img class="uk-float-right" src="{story_topic_image_url}" height="48" width="48">
</a>
{!endif}
{story_text_no_br}
{!if plugin_body_vars}
{plugin_body_vars}
{!endif}
{!if readmore_url}
<p class="tm-article-links">
<a class="uk-text" href="{readmore_url}">{lang_continue_reading} <i class="uk-icon-angle-double-right"></i></a>
</p>
{!endif}
<div class="uk-clearfix"></div>
{!!if {story_display} == 'article' !!}
{!if attribution_url}
<div class="uk-panel uk-margin">
<span class=""><a href="{attribution_url}" target="_blank">Read More</a></span>
</div>
{!endif}
{!if author_about}
<hr>
<article class="uk-comment tm-about-author uk-margin-small">
<header class="uk-comment-header tm-about-author-header uk-margin-top">
<img class="uk-comment-avatar tm-about-author-avatar uk-hidden-small" src="{author_photo_raw}" width="50" height="50" alt="">
<h4 class="uk-comment-title tm-about-author-title">{lang_by} {start_contributedby_anchortag}{contributedby_author}{end_contributedby_anchortag}</h4>
<div class="tm-about-author-bio">
{author_about}
<div class="uk-container uk-container-center uk-text-center">
{follow_me}
</div>
</div>
</header>
</article>
{!endif}
{!endif}
<div class="uk-clearfix"></div>
{!if rating_bar}
{rating_bar}
{!endif}
<div class="tm-article-footer">
{!if page_selector}
<p>{page_selector}</p>
{!endif}
{!if trackbacks_count}
{trackbacks_with_count}
{!endif}
{!if plugin_footer_vars}
<div>{plugin_footer_vars}</div>
{!endif}
</div>
</article>
{!endif}
</div>
{# end {templatelocation} #}