-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpost.php
More file actions
61 lines (59 loc) · 2.37 KB
/
post.php
File metadata and controls
61 lines (59 loc) · 2.37 KB
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
<?php
$langArray = require './packages/heimfisch/keepreading/lang/lang.en.php';
?>
<@ elements/header.php @>
<body>
<header>
<@ elements/navigation.php @>
</header>
<main>
<div class="uk-grid" data-uk-grid-margin>
<div class="uk-width-medium-1-1">
<@ elements/header-image.php @>
<@ if not @{ :hideThumbnails } and not @{ iconPanel } @>
<@~ header-image.php @>
<@ if @{ :imageCard } ~@>
<div class="uk-vertical-align uk-text-center" style="50% 0 no-repeat; height: 450px;">
<img src="@{ :imageCard }" class="teaser-image" width="1280" height="720" alt="">
</div>
<@~ end ~@>
<@ end @>
</div>
</div>
<article>
<div class="article-header">
<h1>@{ title }</h1>
<@ if @{ +subheadline } @>
<span>@{ +subheadline }</span>
<@ end @>
</div>
<@ if not @{ +main } @>
@{ text | markdown }
<@ else @>
@{ +main }
<@ end @>
<div class="article-info">
<@ if @{ author } @>
<div>
<span><?php echo $langArray['writtenby']; ?>: @{ author }</span>
</div>
<@ end @>
<@ if @{ tags } @>
<div>
<!--<span><?php echo $langArray['posttags']; ?>: </span>--> <@ elements/tags.php @>
</div>
<div class="time">
<?php echo $langArray['published']; ?> <@ elements/date.php @>
</div>
<@ end @>
</div>
<div class="keepon-reading">
<@ newPagelist { type: 'siblings' } @>
<@ if @{ :pagelistCount } @>
<h3><?php echo $langArray['keeponreading']; ?></h3>
<@ end @>
</div>
<@ elements/prev_next.php @>
</article>
</main>
<@ elements/footer.php @>