From 2b7fdf7b9f5fd1fc2d4488825507d581c795f991 Mon Sep 17 00:00:00 2001 From: JiXieShi Date: Wed, 15 May 2024 16:01:29 +0800 Subject: [PATCH] Fix img --- themes/blog/album.html | 2 +- themes/blog/layouts/footer.html | 2 ++ themes/blog/talk.html | 5 +++-- 3 files changed, 6 insertions(+), 3 deletions(-) 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" .}}