diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index efa0074..931b8d2 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -41,7 +41,7 @@
repo: 'Colinx-Blog', // The repository of store comments,
owner: 'Colin-XKL',
admin: ['Colin-XKL'],
- id: location.pathname, // Ensure uniqueness and length less than 50
+ id: decodeURI(location.pathname), // Ensure uniqueness and length less than 50
distractionFreeMode: false // Facebook-like distraction free mode
});
gitalk.render('gitalk-container');