2021-07-25 09:12:40 +08:00
|
|
|
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
|
|
|
|
|
|
|
</div><!-- end .row -->
|
|
|
|
</div>
|
|
|
|
</div><!-- end #body -->
|
|
|
|
|
2021-10-22 18:50:52 +08:00
|
|
|
<!-- Advanced styles -->
|
2021-07-25 09:12:40 +08:00
|
|
|
<script>
|
|
|
|
$(document).ready(function(){
|
2021-08-03 20:45:41 +08:00
|
|
|
$("article .post-content img").addClass("img-fluid mx-auto d-block shadow rounded");
|
|
|
|
$("article blockquote").addClass("shadow rounded");
|
|
|
|
$("article pre").addClass("shadow rounded");
|
|
|
|
$("table").addClass("table");
|
2021-12-03 13:19:53 +08:00
|
|
|
$(".aplayer").addClass("shadow");
|
|
|
|
});
|
|
|
|
/*
|
|
|
|
* Fancybox settings
|
|
|
|
* https://web.archive.org/web/20210325170940/https://fancyapps.com/fancybox/3/docs
|
|
|
|
*/
|
|
|
|
$('[data-fancybox="gallery"]').fancybox({
|
|
|
|
buttons: ["zoom", "slideShow", "fullScreen", "download", "thumbs", "close"],
|
|
|
|
clickContent: function(current, event) {
|
|
|
|
return "close";
|
|
|
|
}
|
2021-07-25 09:12:40 +08:00
|
|
|
});
|
|
|
|
</script>
|
2021-10-22 18:50:52 +08:00
|
|
|
|
|
|
|
<!-- lately.js -->
|
|
|
|
<script>Lately({'target' : '.lately'});</script>
|
|
|
|
|
2022-02-04 11:08:56 +08:00
|
|
|
<!-- KaTeX js -->
|
|
|
|
<script src="<?php $this->options->themeUrl('/assets/js/plugins/katex/katex.min.js');?>"></script>
|
|
|
|
<script src="<?php $this->options->themeUrl('/assets/js/plugins/katex/auto-render.min.js');?>"></script>
|
2021-10-22 18:50:52 +08:00
|
|
|
<script>
|
|
|
|
function triggerRenderingLaTeX(element) {
|
|
|
|
renderMathInElement(
|
|
|
|
element,
|
|
|
|
{
|
|
|
|
delimiters: [
|
|
|
|
{left: "$$", right: "$$", display: true},
|
|
|
|
{left: "$", right: "$", display: false},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|
|
|
|
document.addEventListener("DOMContentLoaded", function() {
|
|
|
|
triggerRenderingLaTeX(document.body);
|
|
|
|
});
|
|
|
|
document.addEventListener("DOMContentLoaded", function() {
|
|
|
|
var wmdPreviewLink = document.querySelector("a[href='#wmd-preview']");
|
|
|
|
var wmdPreviewContainer = document.querySelector("#wmd-preview");
|
|
|
|
if(wmdPreviewLink && wmdPreviewContainer) {
|
|
|
|
wmdPreviewLink.onclick = function() {
|
|
|
|
triggerRenderingLaTeX(wmdPreviewContainer);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2022-02-04 11:08:56 +08:00
|
|
|
<div class="position-fixed d-flex" style="right:20px; bottom:30px; z-index:100; flex-direction:column">
|
|
|
|
<button type="button" class="btn btn-secondary btn-icon-only shadow mb-3" onclick="document.documentElement.scrollTo({top: 0, behavior: 'smooth'});">
|
|
|
|
<i class="fas fa-arrow-up"></i>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-secondary btn-icon-only shadow mb-3" onclick="">
|
|
|
|
<i class="fas fa-search"></i>
|
|
|
|
</button>
|
|
|
|
<!-- <button type="button" class="btn btn-secondary btn-icon-only shadow mb-3" onclick="">
|
|
|
|
<i class="fas fa-qrcode"></i>
|
|
|
|
</button> -->
|
|
|
|
<!-- <button type="button" class="btn btn-secondary btn-icon-only shadow mb-3" onclick="">
|
|
|
|
<i class="fas fa-share-alt"></i>
|
|
|
|
</button> -->
|
|
|
|
<button type="button" class="btn btn-secondary btn-tooltip btn-icon-only shadow" onclick="if (DarkReader.isEnabled()) DarkReader.disable(); else DarkReader.enable({brightness: 100, contrast: 90, sepia: 10});"
|
|
|
|
data-toggle="tooltip" data-placement="left" title="✨ 你能听到星星的呼唤吗?" data-container="body" data-animation="true">
|
|
|
|
<i class="fas fa-moon"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
2021-12-08 17:27:21 +08:00
|
|
|
<footer class="mt-5 mb-5 animate__animated animate__fadeIn" id="footer" role="footer">
|
2021-07-25 09:12:40 +08:00
|
|
|
<div class="container">
|
2021-08-03 20:45:41 +08:00
|
|
|
<hr>
|
2021-07-25 09:12:40 +08:00
|
|
|
<div class="text-center">
|
|
|
|
<p>
|
2021-08-10 22:07:19 +08:00
|
|
|
<?php if ($this->options->nisInfo != ""): ?>
|
2021-07-25 09:12:40 +08:00
|
|
|
<a id="nis" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=<?php echo mb_substr($this->options->nisInfo, 5, 14) ?>" target="_blank">
|
|
|
|
<?php echo $this->options->nisInfo ?>
|
2021-08-10 22:07:19 +08:00
|
|
|
</a> | <?php endif; ?>
|
|
|
|
<?php if ($this->options->icpInfo != ""): ?>
|
|
|
|
<a href="https://beian.miit.gov.cn/" target="_blank"><?php echo $this->options->icpInfo ?></a>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php if ($this->options->bottomLinks != ""): ?>
|
|
|
|
<?php Links_Plugin::output($pattern=' | <a href="{url}" title="{title}" target="_blank">{name}</a>', $links_num=0, $sort=$this->options->bottomLinks); ?>
|
|
|
|
<?php endif; ?>
|
2021-07-25 09:12:40 +08:00
|
|
|
</p>
|
2021-10-07 12:10:59 +08:00
|
|
|
<!-- <p>© <?php #echo date('Y');?> <?php #$this->options->title(); ?> ♥ <?php #Typecho_Widget::widget('Widget_Stat')->to($stat); ?><?php #$stat->publishedPostsNum() ?> Posts <?php #allOfCharacters();?> Words crafted</p> -->
|
|
|
|
<p>© <?php echo date('Y');?> <?php $this->options->title(); ?> <i class="fas fa-heart text-danger"></i> <?php Typecho_Widget::widget('Widget_Stat')->to($stat); ?><?php $stat->publishedPostsNum() ?> Posts <?php allOfCharacters();?> Words crafted</p>
|
2021-08-10 22:07:19 +08:00
|
|
|
<p>Powered by <a href="https://www.typecho.org">Typecho</a> | Theme <a href="https://github.com/Skywt2003/sky">Sky</a> by <a href="https://skywt.cn/">SkyWT</a></p>
|
2021-11-19 16:38:23 +08:00
|
|
|
<?php $this->options->footerCode(); ?>
|
2021-07-25 09:12:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer><!-- end #footer -->
|
|
|
|
|
|
|
|
<!--<pre><?php #print_r($this); ?></pre>-->
|
|
|
|
|
|
|
|
<?php $this->footer(); ?>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|