Is it possible to convert the complete output from an entity canonical page to a string? It would be cool if that is possible because that way you could mail an entire page to a user and use a twig template to style the whole thing.
I have been poking around with the renderer service, the theme manager, the entity viewbuilder, etc. But I can't find a way to tie it all together and render the page into a string.
I'm trying to hide some frontpage articles from anonymous users (and show them to users with special user role).
To do this I created two Page Displays with the same path. The Access Settings on the first Page Display are set to Role - Anonymous users, and the Settings Access of the other Page Display are set to Role - Administrators.
It seems that page title is printed in {{ page.content }} ... How can I separate the title and the content of the page in this template file, how can I print title and content separately?
The issue is that when I run the Drupal 8 install script, I get as far as configuring the database, then when I click save and continue, HHVM crashes and I get a "502 Bad Gateway" error in the browser.