summaryrefslogtreecommitdiff
path: root/includes/footer.php
diff options
context:
space:
mode:
author阔落 <45323514+BigCoke233@users.noreply.github.com>2019-04-13 14:41:13 +0800
committerGitHub <noreply@github.com>2019-04-13 14:41:13 +0800
commitc9f053022c7ff4627a4e861801850ff40bf20e1b (patch)
tree8443f42efa62faeeb090fea4c8e7644ac4d9db3d /includes/footer.php
parent1503bbe86bdcb559f41b674cc16c950aa2acb8b5 (diff)
Add files via upload
Diffstat (limited to 'includes/footer.php')
-rw-r--r--includes/footer.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/footer.php b/includes/footer.php
index 272de6e..d133371 100644
--- a/includes/footer.php
+++ b/includes/footer.php
@@ -76,6 +76,13 @@
<?php endif; ?>
<script>
+ <?php if ($this->is('index')): ?>
+ //进展提示
+ mdui.snackbar({
+ message: '欢迎来到 <?php $this->options->title(); ?>!',
+ position: 'right-top'
+ });
+ <?php endif; ?>
//prism highlight-code load
$(document).ready(function(){
var doc_pre = $(".post-content pre");