summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/blog/blog.js b/modules/blog/blog.js
index c6a4bb6..748bcde 100644
--- a/modules/blog/blog.js
+++ b/modules/blog/blog.js
@@ -130,6 +130,7 @@ module.exports = (app, io, _moddir) => {
const path = req.path
.slice(6)
.replace(/\/[\/]*/g, "/")
+ .replace(/\/\.+/g, "/")
.replace(/\.html$/, "");
const fromCache = templateCache.get(path);