aboutsummaryrefslogtreecommitdiffstats
path: root/theme/default/html/post
diff options
context:
space:
mode:
Diffstat (limited to 'theme/default/html/post')
-rw-r--r--theme/default/html/post/main.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/theme/default/html/post/main.php b/theme/default/html/post/main.php
index 4b84ed9..328a614 100644
--- a/theme/default/html/post/main.php
+++ b/theme/default/html/post/main.php
@@ -17,6 +17,14 @@ $time = "<time datetime=\"{$POST['ATTR']['TIME_INSERT']}\" title=\"".parseDateti
<?=$POST['BODY']['HTML']()?>
</div>
+<?php if($CATEGORIES): ?>
+ <ul class="category-list fa fa-tag">
+ <?php foreach($CATEGORIES as $category): ?>
+ <li><a href="<?=$category['URL']?>"><?=escapeHTML($category['ATTR']['NAME'])?></a></li>
+ <?php endforeach ?>
+ </ul>
+<?php endif ?>
+
<section id="site-navi">
<?php if($POST['PREV']): ?>