Reading the D8 documentation, it says the appropriate twig for displaying the author's picture is:


When I use that, however, I'm getting the author's title, and description as well. Is there a way to fix that other than CSS fixes to render the other fields invisible? Or is there something I'm missing?


According to the documentation, {{author_picture}} is showing the node author user entity, rendered using the "compact" view mode.

In other words, you can adapt it by browsing to http://your_site/admin/config/people/accounts/display/compact

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.