Fix navigation bug due to missing trailing slash in URLs causing RSS links to point to the main one even in tagged page

This commit is contained in:
Tissevert 2020-05-07 16:57:46 +02:00
parent e136b97746
commit e180fef293

View file

@ -70,8 +70,7 @@ function DomRenderer(modules) {
} }
function otherUrl(tag, all) { function otherUrl(tag, all) {
var path = [tag, all ? null : 'all.html']; return '/' + (tag || '') + (all ? '/' : '/all.html');
return '/' + path.filter(modules.fun.defined).join('/');
} }
function articlesList(tag, all) { function articlesList(tag, all) {