增强友联可扩展性

This commit is contained in:
小赵同学 committed 2024-07-12 18:28:07 +08:00
1 parent 5ce12576c7
commit e32ca6759d
20 files changed
+632 -383

No files matched your search

+8 -3
View File
@@ -89,7 +89,7 @@
<script type="text/javascript">
$(document).ready(function () {
var currentPath = "\/post\/helloworld\/";
currentPath = "\/post\/helloworld\/";
fetchCommentsAndCreateBarrager(currentPath, {
@@ -126,14 +126,19 @@
<script src="/js/main.js"></script>
<script src="/js/mypjax.js"></script>
<script src="/js/nprogress.js"></script>
<script>var currentPath = "\/post\/helloworld\/";</script>
<script>
var currentPath = "\/post\/helloworld\/";
document.addEventListener("pjax:send", function () {
var currentPath = "\/post\/helloworld\/";
});
</script>
<script type="module">
import { init as walineInit } from 'https://unpkg.com/@waline/client@v3/dist/waline.js';
window.walineInit = walineInit;
window.initWaline = function() {
walineInit({