diff options
Diffstat (limited to 'includes/footer.php')
| -rw-r--r-- | includes/footer.php | 7 |
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");
|
