Score:-4

Basic Page - anchor link with id

es flag

I'm trying to create an anchor link on a basic page back to the previous NON basic page to where the user came from.

I.e. <a class="btn" href="/dashboard">Back>/a> obviously works.

BUT <a class="btn" href="/startups/{{startup.id|startup_id}}/videos">Back</a> doesn't.

Any ideas as to how to resolve this would be greatly appreciated.

cn flag
Where are you creating this link? What code are you using? There are lots of ways to create a link on a page-- in CKEditor, in a twig template, in a custom module.
es flag
It's a basic page (/admin/structure/types) with Full HTML text format but it's supposed to link back to that specific users (hence user.id) page which is a twig.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.