diff options
| author | BigCoke233 <hi@guhub.cn> | 2020-05-03 11:58:19 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2020-05-03 11:58:19 +0800 |
| commit | 4f0916cbdfacd8b67d4fcdafd8e88cb2a5683f90 (patch) | |
| tree | 4c12d7c34009a22698b51f83d348e71f701ede2e /includes | |
| parent | ebdb54b815175bfee09f31852bbdd46be673019f (diff) | |
:sunrise_over_mountains: Perf: 随时根据系统颜色变化切换 favicon
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 e4c349c..37915ad 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -32,6 +32,7 @@ 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'); ?>'; + var faviconUrl = '<?php $this->options->favicon() ;?>'; <?php if($this->options->pjax && $this->options->pjax!=0) :?>var loadPjax = true; beforePjax = function() {NProgress.start();}; afterPjax = function() {owoLoad();<?php $this->options->pjax_complete(); ?>};<?php endif; ?></script> |
