mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
4dbaf58aba
no related issue This is essentially setting up a binding from the `LinkView`'s `active` status and whatever is set as `alternativeActive` in the `{{link-to}}` (in our case the `activating-list-item` component. Screenshots showing that the proper CSS classes are given: ![screenshot](http://monosnap.com/image/tzOH6n82rIVGNEFAUWVOLN52QuASQ4.png) ![screenshot](http://monosnap.com/image/5gmcwJcj0kgEXt8lnET4OKgIZ8KRpH.png) ![screenshot](http://monosnap.com/image/UCVNukTXLMNfVneLhzwVyhkrVlGSBt.png)
2 lines
72 B
Handlebars
2 lines
72 B
Handlebars
{{#link-to route alternateActive=active}}{{title}}{{yield}}{{/link-to}}
|