diff --git a/themes/blog/album.html b/themes/blog/album.html index 5cf5ac9..7b9aaab 100644 --- a/themes/blog/album.html +++ b/themes/blog/album.html @@ -248,7 +248,7 @@ for (const item of items) { html += `
${item.text}` for (const id of item.ids) { - await fetch(window.location.origin+`/api/bilibili?bvid=${id}`).then(res => res.json()).then(data => { + await fetch(`/api/bilibili?bvid=${id}`).then(res => res.json()).then(data => { html += `
diff --git a/themes/blog/layouts/footer.html b/themes/blog/layouts/footer.html index 9a5dac1..9f479ca 100644 --- a/themes/blog/layouts/footer.html +++ b/themes/blog/layouts/footer.html @@ -1,7 +1,9 @@ {{define "footer"}}
- 只展示最近30条说说 -
+ + - - + {{template "footer" .}}