summaryrefslogtreecommitdiffstats
path: root/footer.php
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-04-15 17:26:50 +0800
committerBigCoke233 <hi@guhub.cn>2020-04-15 17:26:50 +0800
commit3def1ca01fc20e6f6da887182202f10047e3a912 (patch)
treec9aac5f5fc2cefb94b4903a56fde0cbba0877bd5 /footer.php
parent7866c9f6a2353fd93a279b5a22872c52bb81b08b (diff)
:alien: Add: 添加 9jojo CDN 作为静态文件加速选择
Diffstat (limited to 'footer.php')
-rw-r--r--footer.php49
1 files changed, 0 insertions, 49 deletions
diff --git a/footer.php b/footer.php
deleted file mode 100644
index 731b2d7..0000000
--- a/footer.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
- </div><!-- 结束 pjax-container -->
- <!-- Footer Information -->
- <footer>
- <div class="footer-info footer-dark">
- <?php $this->options->footerEcho(); ?>
- <p class="copyright">Powered by <a href="http://typecho.org">Typecho</a> | Theme <a href="https://guhub.cn/p/miracles.html">Miracles</a> by <a href="https://guhub.cn">Eltrac</a><br>
- Copyright &copy; <?php echo date('Y'); ?> <a href="<?php $this->options->SiteUrl(); ?>"><?php $this->options->title(); ?></a>, All rights reserved.<br>
- <?php
- echo $this->options->build_time?"记录已延续了 <span id=\"build-time\"></span>":"";
- if($faces=$this->options->anime_face){
- $faces = explode("&&",$faces);
- $faces = "<span class=\"anime-face\">".$faces[mt_rand(0,count($faces))]."</span>";
- }
- if($faces && $this->options->build_time)echo $faces;
- ?></p>
- </div>
- </footer>
-
- <!-- Raised Buttons -->
- <div class="fixed-tools">
- <button title="返回顶部" class="fixed-button gotop-button" id="gotop"><i class="iconfont icon-chevron-up"></i></button>
- </div>
- <!-- JavaScript -->
- <?php
- $js_files=array("jquery","pjax.jquery","jquery.fancybox","jquery.lazyload.min","nprogress","OwO.min","highlight","highlight-line-number","pangu");
- generate_require($js_files,"js",$this->options->CDN?"https://cdn.jsdelivr.net/gh/BigCoke233/miracles@":"");
- ?>
- <!-- Varribles and Functions -->
- <script>
- var allowNavAero = <?php if($this->options->navAero):?>false<?php else:?>true<?php endif;?>;
- var siteurl = '<?php $this->options->SiteUrl() ;?>';
- var owoJson = '<?php Utils::indexTheme('assets/OwO.json'); ?>';
- <?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>
- <!-- Script that must be after-->
- <script src="<?php Utils::indexTheme('assets/js/cmt.miracles.js'); ?>"></script>
- <script src="<?php Utils::indexTheme('assets/js/miracles.min.js'); ?>"></script>
- <!-- BuildTime -->
- <script>
- <?php if($this->options->build_time)echo "startTime(\"".$this->options->build_time."\");" ?>
- </script>
- <!-- Send News and Loaders -->
- <script><?php if($this->is('post') || $this->is('page')): ?>owoLoad();<?php endif; ?><?php $this->options->jsEcho(); ?></script>
- <!-- Others -->
- <?php $this->footer(); ?>
- </body>
-</html>