2022-09-19 21:45:00 +08:00
|
|
|
{#-
|
|
|
|
This file was automatically generated - do not edit
|
|
|
|
-#}
|
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block extrahead %}
|
2023-04-27 15:18:32 +08:00
|
|
|
<link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
|
2023-01-29 18:13:29 +08:00
|
|
|
|
2024-04-17 20:07:01 +08:00
|
|
|
<!-- 51la 数据分析 -->
|
|
|
|
<script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script>
|
|
|
|
<script>LA.init({id:"JxKUXhE7gGiOPZNN",ck:"JxKUXhE7gGiOPZNN",autoTrack:true,hashMode:true,screenRecord:true})</script>
|
|
|
|
|
|
|
|
<!-- Google 广告 -->
|
2024-05-07 17:25:16 +08:00
|
|
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5403546756695673"
|
2024-04-17 20:07:01 +08:00
|
|
|
crossorigin="anonymous"></script>
|
2024-04-21 10:59:34 +08:00
|
|
|
|
|
|
|
<!-- Google tag (gtag.js) -->
|
|
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J6CJ37M45M"></script>
|
|
|
|
<script>
|
|
|
|
window.dataLayer = window.dataLayer || [];
|
|
|
|
function gtag(){dataLayer.push(arguments);}
|
|
|
|
gtag('js', new Date());
|
|
|
|
|
|
|
|
gtag('config', 'G-J6CJ37M45M');
|
|
|
|
</script>
|
2022-09-19 21:45:00 +08:00
|
|
|
{% endblock %}
|
|
|
|
{% block announce %}
|
2023-04-27 15:18:32 +08:00
|
|
|
<div class="announce-wrapper">
|
|
|
|
<div id="announce-left">
|
|
|
|
{% for banner in config.banners %}
|
|
|
|
<div class="item">
|
2024-01-12 12:22:10 +08:00
|
|
|
<a class="announce-link" href="{{ banner.link }}" style="color: #ffffff;">
|
|
|
|
<div class="twemoji">
|
|
|
|
<div>{{ banner.title }}</div>
|
|
|
|
<div style="margin-left: 100px; color: #ffffff;">{{ banner.description }}</div>
|
|
|
|
</div>
|
2023-04-27 15:18:32 +08:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<div id="announce-right" style="position: relative;">
|
|
|
|
<div class="item">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-19 21:45:00 +08:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{{ super() }}
|
|
|
|
<!-- Giscus -->
|
|
|
|
<h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
|
|
|
|
<!-- Replace with generated snippet -->
|
|
|
|
<script src="https://giscus.app/client.js"
|
2023-08-09 16:34:43 +08:00
|
|
|
data-repo="devlive-community/datacap"
|
2022-09-19 21:45:00 +08:00
|
|
|
data-repo-id="R_kgDOIAzx4g"
|
|
|
|
data-category="Q&A"
|
|
|
|
data-category-id="DIC_kwDOIAzx4s4CRfmA"
|
|
|
|
data-mapping="pathname"
|
|
|
|
data-strict="0"
|
|
|
|
data-reactions-enabled="1"
|
|
|
|
data-emit-metadata="0"
|
|
|
|
data-input-position="bottom"
|
|
|
|
data-theme="preferred_color_scheme"
|
|
|
|
data-lang="zh-CN"
|
|
|
|
data-loading="lazy"
|
|
|
|
crossorigin="anonymous"
|
|
|
|
async>
|
|
|
|
</script>
|
|
|
|
<!-- Reload on palette change -->
|
|
|
|
<script>
|
2023-04-27 15:18:32 +08:00
|
|
|
var palette = __md_get("__palette")
|
|
|
|
if (palette && typeof palette.color === "object") {
|
|
|
|
if (palette.color.scheme === "slate") {
|
|
|
|
var giscus = document.querySelector("script[src*=giscus]")
|
|
|
|
giscus.setAttribute("data-theme", "dark")
|
|
|
|
}
|
2022-09-19 21:45:00 +08:00
|
|
|
}
|
|
|
|
|
2023-04-27 15:18:32 +08:00
|
|
|
/* Register event handlers after documented loaded */
|
|
|
|
document.addEventListener("DOMContentLoaded", function () {
|
|
|
|
var ref = document.querySelector("[data-md-component=palette]")
|
|
|
|
ref.addEventListener("change", function () {
|
|
|
|
var palette = __md_get("__palette")
|
|
|
|
if (palette && typeof palette.color === "object") {
|
|
|
|
var theme = palette.color.scheme === "slate" ? "dark" : "light"
|
2022-09-19 21:45:00 +08:00
|
|
|
|
2023-04-27 15:18:32 +08:00
|
|
|
/* Instruct Giscus to change theme */
|
|
|
|
var frame = document.querySelector(".giscus-frame")
|
|
|
|
frame.contentWindow.postMessage(
|
|
|
|
{giscus: {setConfig: {theme}}},
|
|
|
|
"https://giscus.app"
|
|
|
|
)
|
|
|
|
}
|
|
|
|
})
|
2022-09-19 21:45:00 +08:00
|
|
|
})
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
{{ super() }}
|
|
|
|
{% endblock %}
|