Files
Colinx-Blog/layouts/partials/footer.html
2022-01-06 22:30:36 +08:00

66 lines
2.2 KiB
HTML

<!-- 超链接样式 -->
<style>
.post-tags a,
.post-content a {
text-decoration: none;
border-bottom: 1px dashed #d71a1b;
-webkit-transition: all .2s;
transition: all .2s;
}
.post-tags a:hover,
.post-content a:hover,
nav a:hover {
text-decoration: none;
border-bottom: 1px solid #d71a1b;
-webkit-transition: all .2s ease-out;
transition: all .2s ease-out;
}
</style>
<footer class="footer">
<span id="busuanzi_container_site_pv" style='display:none'>
嗨,第<span id="busuanzi_value_site_pv"></span>位小伙伴 : )
</span>
<div class="footer__inner">
{{ if $.Site.Copyright }}
<div class="copyright copyright--user">{{ $.Site.Copyright | safeHTML }}</div>
{{ else }}
{{ partial "logo.html" . }}
<div class="copyright">
<span>© {{ now.Year }} Powered by
<a href="https://gohugo.io" target="_blank" rel="noopener">Hugo</a></span>
<span>Theme created by
<a href="https://twitter.com/panr" target="_blank" rel="noopener">panr</a></span>
</div>
{{ end }}
</div>
</footer>
<script src="{{ "assets/main.js" | absURL }}"></script>
<script async src="{{ "assets/prism.js" | absURL }}"></script>
<script>
meta = document.querySelectorAll('.post:not(.on-list) .post-meta')[0];
var visitors = `<span id="busuanzi_container_page_pv" style='display:none'> 浏览:<span id="busuanzi_value_page_pv"></span>次</span>`
if (meta) meta.innerHTML = meta.innerHTML + visitors
</script>
<!-- Sentry -->
<script src="https://browser.sentry-cdn.com/6.15.0/bundle.tracing.min.js"
integrity="sha384-1k7XKRQgqjUbNyG2sI+qsY8HTHMOeLdycMx6hoGuNSANZ3WrMa3LXkr+M4t+SIpF"
crossorigin="anonymous"></script>
<script>
Sentry.init({
dsn: "https://446fb53b106744b1b70e1074e68a5e71@o850059.ingest.sentry.io/6077493",
integrations: [new Sentry.Integrations.BrowserTracing()],
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 1.0,
});
</script>
{{- partial "extended_footer.html" . }}