This PR removes the backlink creation from the JS and adds it into the DDR Menu Razor Template for the mobile menu. It also removes duplicate code by adding the description to all levels and makes description showing conditional on existence. Also updated the mr-1 reference for backlinks to appropriate me-1 for BS5.
How Has This Been Tested?
Tested in local environment, built, ran. With multiple pages across multiple levels, the mobile menu works as expected.
Screenshots (if appropriate):
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Related to Issue
Fixes #330
Description
This PR removes the backlink creation from the JS and adds it into the DDR Menu Razor Template for the mobile menu. It also removes duplicate code by adding the description to all levels and makes description showing conditional on existence. Also updated the
mr-1
reference for backlinks to appropriateme-1
for BS5.How Has This Been Tested?
Tested in local environment, built, ran. With multiple pages across multiple levels, the mobile menu works as expected.
Screenshots (if appropriate):
Types of changes
Checklist: