I have a D8.2.0 website with a view showing unformatted list of content of certain content type. For each item in the content two field values are shown.
I want one of the fields to be a link to the content item node. I used Rewrite Results > Output this field as a custom link
and put the following value:
/node/{{ node.id }}
But no luck. I also tried nid
. I cannot seem to find a documentation or a blog post that discusses different values that can be used in twig-enabled fields in D8 views.
If possible please add references to documentation or posts that explain what variable names are available in addition to what is the correct way to use the node id by twig.