summaryrefslogtreecommitdiff
path: root/includes/toolbar.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/toolbar.php')
-rw-r--r--includes/toolbar.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/includes/toolbar.php b/includes/toolbar.php
new file mode 100644
index 0000000..1f52a4f
--- /dev/null
+++ b/includes/toolbar.php
@@ -0,0 +1,10 @@
+ <!-- 右侧工具栏 -->
+ <Div class="footer-tools mobile-none">
+ <?php if (!$this->is('index')): ?>
+ <a href="<?php $this->options->SiteUrl(); ?>"><i class="fa fa-home"></i></a>
+ <?php endif; ?>
+ <?php if ($this->is('post') || $this->is('page')): ?>
+ <a href="#comments"><i class="fa fa-comments"></i></a>
+ <?php endif; ?>
+ <a href="#top"><i class="fa fa-arrow-up"></i></a>
+ </div> \ No newline at end of file