Merge branch 'master' into master

This commit is contained in:
HighDoping 2025-01-24 19:48:48 +08:00 committed by GitHub
commit c23abe36fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 5 deletions

View File

@ -68,7 +68,7 @@ search:
footer:
builtWith:
other: "مبني بستخدام {{ .Generator }}"
other: "مبني باستخدام {{ .Generator }}"
designedBy:
other: "قالب {{ .Theme }} مصمم من {{ .DesignedBy }}"

View File

@ -1,7 +1,8 @@
{{- partial "helper/external" (dict "Context" . "Namespace" "KaTeX") -}}
<script>
window.addEventListener("DOMContentLoaded", () => {
renderMathInElement(document.body, {
const mainArticleElement = document.querySelector(".main-article");
renderMathInElement(mainArticleElement, {
delimiters: [
{ left: "$$", right: "$$", display: true },
{ left: "$", right: "$", display: false },
@ -10,4 +11,4 @@
],
ignoredClasses: ["gist"]
});})
</script>
</script>

View File

@ -11,7 +11,7 @@
data-emit-metadata="{{- default 0 .emitMetadata -}}"
data-input-position="{{- default `top` .inputPosition -}}"
data-theme="{{- default `light` .lightTheme -}}"
data-lang="{{- default (default `en` $.Language.LanguageCode) .lang -}}"
data-lang="{{- default `en` .lang -}}"
data-loading="{{- .loading -}}"
crossorigin="anonymous"
async

View File

@ -1,4 +1,4 @@
{{- $ThemeVersion := "3.29.0" -}}
{{- $ThemeVersion := "3.30.0" -}}
<footer class="site-footer">
<section class="copyright">
&copy;