diff --git a/front-end/index.html b/front-end/index.html index cebb9486..a963388d 100644 --- a/front-end/index.html +++ b/front-end/index.html @@ -1190,7 +1190,8 @@ }, }; - const suffix = path.split('.').pop(); + const suffix = + path.split('/').pop().split('.')[1] || '__no_suffix__'; let content = document.querySelector('.content'); content.appendChild(