-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstatic.html.php
More file actions
30 lines (28 loc) · 1016 Bytes
/
static.html.php
File metadata and controls
30 lines (28 loc) · 1016 Bytes
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
<?php if (!defined('HTMLY')) die('HTMLy'); ?>
<div class="post entry static">
<div class="entry-header">
<?php if (login()) { echo tab($p); } ?>
<h1 class="entry-title"><?php echo $p->title; ?></h1>
</div>
<div class="entry-content">
<article>
<?php echo $p->body; ?>
</article>
</div>
<div class="entry-meta-bottom">
<nav class="further-reading">
<?php if (!empty($next)): ?>
<p class="prev">
<span><?php echo i18n("Next");?></span>
<a href="<?php echo($next['url']); ?>"><?php echo($next['title']); ?></a>
</p>
<?php endif; ?>
<?php if (!empty($prev)): ?>
<p class="next">
<span><?php echo i18n("Prev");?></span>
<a href="<?php echo($prev['url']); ?>"><?php echo($prev['title']); ?></a>
</p>
<?php endif; ?>
</nav>
</div>
</div>