In order to enable a more flexible approach, we could potentially define a restricted set of meta keys that are emitted to the template...that allows the user to set on the head-data service from anywhere...like a component for example.
// component.js
this.headData.set('descriptionContent', 'My description');
So something like description would be an array of loc keys
descriptionContent: '',
description: computed('routeName', 'descriptionContent', function() {...});
So in the end we have a route approach + a set approach + default config approach. What do you think?
In order to enable a more flexible approach, we could potentially define a restricted set of meta keys that are emitted to the template...that allows the user to
seton thehead-dataservice from anywhere...like a component for example.So something like description would be an array of loc keys
So in the end we have a
routeapproach + asetapproach +default configapproach. What do you think?