If you want to add a link to a particular tag in empress-blog to your main menu, you just have to specify route
as tag
and id
as your particular tag. Let's say my tag is going to be called munro:
❯ ember g tag munro
And I want a link to a page that lists all the articles that contain this tag in my main menu. All I have to do is add to config following lines:
// config/environment.js
module.exports = function (environment) {
let ENV = {
blog: {
navigation: [
{
label: 'Munros',
route: 'tag',
id: 'munro',
},
]
}
}
}
Top comments (0)