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

Embedding hypothesis.is

Started by Muut Archive 9 years ago · 2 replies · 378 views
9 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.

9 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 1345 9 years ago
Archive · by Muut Archive, 9 years ago
2 933 9 years ago
Archive · by Muut Archive, 9 years ago
2 4060 9 years ago
Archive · by Muut Archive, 9 years ago
1 2945 9 years ago
Archive · by Muut Archive, 9 years ago
3 1117 9 years ago