Submitted by admin on Wed, 11/04/2020 - 17:11
Output as fields on twig
Using below references, managed to output combined custom fields - first name and last name fields in user.html.twig template, without using hook alters or overwriting the user page template file:
- https://www.drupal.org/project/twig_field_value
- https://blog.usejournal.com/getting-drupal-8-field-values-in-twig-22b80c...
Output on Page Title as tokens
Probably for search engine optimization (SEO) purposes, you may need to utilize the Meta Tags module to output the same custom fields by using tokens.
Leave a Comment