mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
add trailing slash to navigation items
fixes the problem that each navigation item first has to redirected to the version with trailing slash closes https://github.com/ionic-team/ionic-site/issues/1223
This commit is contained in:
@@ -22,6 +22,7 @@ module.exports = function jekyll(renderDocsProcessor) {
|
||||
doc.URL = doc.outputPath.replace('docs//', 'docs/')
|
||||
.replace('/index.md', '')
|
||||
.replace('content/', '');
|
||||
doc.URL = doc.URL+'/'; // add trailing slash
|
||||
});
|
||||
|
||||
const betaDocs = [];
|
||||
|
||||
Reference in New Issue
Block a user