diff options
| author | BigCoke233 <hi@guhub.cn> | 2020-04-12 16:10:53 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2020-04-12 16:10:53 +0800 |
| commit | c4d20db153d8e810940ee505c194a9c4dcf58d54 (patch) | |
| tree | 8c3353c53bd2986a96df8b7c3ece1d54660e795d /includes | |
| parent | 8a03995d72a9afe999c243cffd1fae05b441c172 (diff) | |
:book: 中英文分割开关 & 优化友情链接
- 现在允许在后台选择是否开始 Pangu,js 分割中英文
- 友情链接的头像不在通过 div 的背景图展示,而是 img 标签,并适配懒加载
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/footer.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/footer.php b/includes/footer.php index 94c9d48..670367e 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -28,6 +28,7 @@ ?> <!-- Varribles and Functions --> <script> + var panguLoadAllow = <?php if($this->options->pangu==1):?>false<?php else:?>true<?php endif;?>; var allowNavAero = <?php if($this->options->navAero==1):?>false<?php else:?>true<?php endif;?>; var siteurl = '<?php $this->options->SiteUrl() ;?>'; var owoJson = '<?php Utils::indexTheme('assets/OwO.json'); ?>'; |
