Hello.
There is a small suggestion.
Suggestion: add “plugin-outlet” above this line.
At the moment I see various attempts to use what I want to offer a little differently.
For example:
Where used:
Or in other components, plugins simply override the file.
..../discourse/templates/discovery.hbs
But how much need to replace the entire file? If we add one line to the file discovery.hbs
, then we can solve many questions at once more easier.
- We will not override the entire file.
- We will not be completely dependent on the design of the tape itself, because it can be changed using components. (
{{outlet "header-list-container"}}
) - We can do everything more dynamically
- I do not see any negative point in this.
Everything that is in this file:
..../discourse/templates/application.hbs
Mean a bit more global change.
I wonder what you think about this question?