Timeline for Drupal 8 - how can I print a single field value in overridden field--node--title.html.twig template
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 21, 2016 at 15:35 | comment | added | No Sssweat |
else try {%- for item in items -%} {{ item.title.content }} {%- endfor -%}
|
|
Nov 21, 2016 at 15:27 | comment | added | No Sssweat |
If I was to make a guess for your current template file, try {{ items.title.content }}
|
|
Nov 21, 2016 at 15:22 | comment | added | No Sssweat |
You could instead create node--[troubleshooting-options].html.twig and then use the code provided in this answer
|
|
Nov 21, 2016 at 14:48 | history | asked | Niladri Sarkar | CC BY-SA 3.0 |