Provide page URI to templates
Closed this issue · 2 comments
ngirard commented
The templates are currently provided with
{{ uri }}
- Annotation URI{{ base_uri }}
- Base website of URI
but, unless I'm misunderstood, they cannot render the URI of the original page that was annotated.
I ended up performing regex search & replace against {{ base_uri }}
, but it would be nice if Gooseberry could add this key to the templates.
Ninjani commented
I believe {{ uri }}
is what you're looking for, the link to the actual annotation is {{ incontext }}
Edit: I agree the way it's written in the README is a bit confusing, I'll change that
ngirard commented
Jeez... you're right... I need more sleep, thanks !
Feel free to close this issue whenever you want !