Add default link hashes
This commit is contained in:
@@ -42,13 +42,13 @@ addEventListener("resize", paigeResize);
|
||||
{{ end }}
|
||||
</script>
|
||||
{{ partial "paige/script.html" (dict
|
||||
"integrity" ($page.Param "paige.bootstrap.script.script_integrity")
|
||||
"integrity" ($page.Param "paige.bootstrap.script.script_integrity" | default "sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN")
|
||||
"raw" ($page.Param "paige.bootstrap.script.raw")
|
||||
"src" ($page.Param "paige.bootstrap.script.script_src" | default "https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js")
|
||||
) }}
|
||||
{{ if or ($page.Param "paige.math") (and ($page.Param "paige.list.content.show") (where $page.Pages "Params.paige.math" "eq" true)) }}
|
||||
{{ partial "paige/script.html" (dict
|
||||
"integrity" ($page.Param "paige.katex.script.script_integrity")
|
||||
"integrity" ($page.Param "paige.katex.script.script_integrity" | default "sha384-97gW6UIJxnlKemYavrqDHSX3SiygeOwIZhwyOKRfSaf0JWKRVj9hLASHgFTzT+0O")
|
||||
"raw" ($page.Param "paige.katex.script.raw")
|
||||
"src" ($page.Param "paige.katex.script.script_src" | default "https://cdn.jsdelivr.net/npm/katex@0.16.3/dist/katex.min.js")
|
||||
) }}
|
||||
|
Reference in New Issue
Block a user