aboutsummaryrefslogtreecommitdiffstats
path: root/theme/default/html/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'theme/default/html/home.php')
-rw-r--r--theme/default/html/home.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/theme/default/html/home.php b/theme/default/html/home.php
new file mode 100644
index 0000000..b412f22
--- /dev/null
+++ b/theme/default/html/home.php
@@ -0,0 +1,20 @@
+<?php
+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
+# Home Template [Thomas Lange <code@nerdmind.de>] #
+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
+# #
+# [see documentation] #
+# #
+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
+?>
+<h1><i class="fa fa-home"></i><?=$Language->text('home_heading_text', escapeHTML(Application::get('BLOGMETA.NAME')))?><span class="head-link brackets"><i class="fa fa-rss"></i><a href="<?=Application::getURL('feed/')?>" title="<?=$Language->text('feed_name_items', escapeHTML($BLOGMETA['NAME']))?>">Feed</a></span></h1>
+<p><?=$Language->text('home_heading_desc', Application::get('POST.LIST_SIZE'))?></p>
+
+<div class="item-container post">
+ <?php foreach($LIST['POSTS'] as $post): ?>
+ <?php echo $post; ?>
+ <?php endforeach; ?>
+</div>
+
+<?=$PAGINATION['HTML']?>
+