-
Notifications
You must be signed in to change notification settings - Fork 3
/
footer.php
executable file
·43 lines (43 loc) · 2.34 KB
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<footer class="footer flex">
<section class="container">
<nav class="footer-links">
<p><center>Copyright © 2021- <?php echo date("Y"); ?> Magneto<br>Theme <a href="https://fmcf.cc" target="_blank">TinaTheme</a> By Magneto</center></p>
</nav>
<?php if ($this->options->FooterHTML): ?>
<?php $this->options->FooterHTML() ?>
<?php endif; ?>
</section>
<?php if ($this->options->MathRender == 'KaTeX'): ?>
<link rel="stylesheet" href="//cdn.bootcdn.net/ajax/libs/KaTeX/0.16.0/katex.min.css">
<script src="//cdn.bootcdn.net/ajax/libs/KaTeX/0.16.0/katex.min.js"></script>
<script src="//cdn.bootcdn.net/ajax/libs/KaTeX/0.16.0/contrib/auto-render.min.js"></script>
<script src="<?php $this->options->themeUrl('/assets/js/katex.support.js'); ?>"></script>
<?php endif; ?>
<?php if ($this->options->MathRender == 'MathJax'): ?>
<script type="text/javascript">window.MathJax={tex:{inlineMath:[['$','$'],['\\(','\\)']],}};</script>
<script src="//cdn.bootcdn.net/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.min.js"></script>
<?php endif; ?>
<?php if ($this->options->MathRender == 'Close'): ?>
<?php endif; ?>
<script src="<?php $this->options->themeUrl('/assets/js/features.js'); ?>" data-enable-footnotes="true"></script>
</footer>
<?php if ($this->options->WebPjax): ?>
<script src="<?php $this->options->themeUrl('/assets/js/pjax.min.js'); ?>"></script>
<link href="//cdn.bootcdn.net/ajax/libs/nprogress/0.2.0/nprogress.min.css" rel="stylesheet">
<script src="//cdn.bootcdn.net/ajax/libs/nprogress/0.2.0/nprogress.min.js"></script>
</div>
<script>$(document).pjax('a[href^="<?php Helper::options()->siteUrl()?>"]:not(a[target="_blank"],a[no-pjax]), a[href^="?"], a[href^="/"]',{container:'#pjax-load',fragment:'#pjax-load',timeout:8000}).on('pjax:send',function(){NProgress.start()}).on('pjax:complete',function(){NProgress.done()});</script>
<?php endif; ?>
</body>
<?php if ($this->options->cursor): ?>
<script src="<?php $this->options->themeUrl('/assets/js/cursor.js'); ?>" data-enable-footnotes="true"></script>
<?php endif; ?>
</html>
<?php /* 来自 MDr | HTML 压缩 */
if ($this->options->compressHtml) {
$html_source = ob_get_contents();
ob_clean();
print compressHtml($html_source);
ob_end_flush();
}
?>