Adding content titles to urls

I have added LinksHelper class to links that point to content. All content links should now have the title of the book in the url after the id and version and before the page. For example 'contents/fff43307-25af-4c04-96fa-163449aac655@1.1/Simultaneous_Equations:2'.

There were two files where I had trouble adding LinksHelper  - src/scripts/search/results/list/item-partial.html and src/scripts/workspace/results/list/workspace-item-partial.html. These files utilize Handlebars helpers to split and limit the title in the urls.
Can the page number be stored and only calculated once?