Add a page.identifier attribute
Afaik, currently if you want to output a pages' identifier, you need to do this:
{{page.attributes.component-version}}@{{page.attributes.component-name}}:{{page.attributes.module}}:{{page.attributes.relative-src-path}}
... which is pretty cumbersome and took me a while to figure out. It would be handy if pages had an id
or identifier
attribute that returned this.
My use case for this is setting a page identifier for disqus in a supplimentary_file
: https://help.disqus.com/en/articles/1717084-javascript-configuration-variables