Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Embedding hypothesis.is

Started by Muut Archive 10 years ago · 2 replies · 439 views
10 years ago

according to this: https://hypothes.is/for-publishers/

I'm supposed to do this:
"To add Hypothesis to your web site, simply add the following line to the HTML source of your page:

<script src="https://hypothes.is/embed.js" async></script>"

I'm using the learn2 framework.
I've found an index.html, but there's nothing in it. Where would I paste that ‹script› to have it embedded on all sites? (Including hosted pdf's that are supposed to be annotated).

Merci beaucoup.

10 years ago

The HTML is generated by the theme. Generally, the HTML <head> tag is defined in user/themes/yourtheme/templates/partials/base.html.twig

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1999 9 years ago
Archive · by Muut Archive, 9 years ago
2 1342 9 years ago
Archive · by Muut Archive, 9 years ago
2 4549 9 years ago
Archive · by Muut Archive, 9 years ago
1 3402 9 years ago
Archive · by Muut Archive, 9 years ago
3 1493 9 years ago