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"/>
|
|
|
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.82a244a8.min.css' | url }}"/>
|
2023-01-29 18:13:29 +08:00
|
|
|
|
|
|
|
<script>
|
2023-04-27 15:18:32 +08:00
|
|
|
!function (p) {
|
|
|
|
"use strict";
|
|
|
|
!function (t) {
|
|
|
|
var s = window, e = document, i = p, c = "".concat("https:" === e.location.protocol ? "https://" : "http://", "sdk.51.la/js-sdk-pro.min.js"),
|
|
|
|
n = e.createElement("script"), r = e.getElementsByTagName("script")[0];
|
|
|
|
n.type = "text/javascript", n.setAttribute("charset", "UTF-8"), n.async = !0, n.src = c, n.id = "LA_COLLECT", i.d = n;
|
|
|
|
var o = function () {s.LA.ids.push(i)};
|
|
|
|
s.LA ? s.LA.ids && o() : (s.LA = p, s.LA.ids = [], o()), r.parentNode.insertBefore(n, r)
|
|
|
|
}()
|
|
|
|
}({id: "JxKUXhE7gGiOPZNN", ck: "JxKUXhE7gGiOPZNN", autoTrack: true, hashMode: true});
|
2023-01-29 18:13:29 +08:00
|
|
|
</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">
|
|
|
|
<a class="announce-link" href="{{ banner.link }}">
|
|
|
|
<span class="twemoji">
|
|
|
|
{{ banner.title }}
|
|
|
|
</span> {{ banner.description }}
|
|
|
|
</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-02-03 11:19:53 +08:00
|
|
|
data-repo="EdurtIO/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() }}
|
|
|
|
<script src="{{ 'assets/javascripts/bundle.39654835.min.js' | url }}"></script>
|
|
|
|
{% endblock %}
|