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 · 377 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 1341 9 years ago
Archive · by Muut Archive, 9 years ago
2 928 9 years ago
Archive · by Muut Archive, 9 years ago
2 4057 9 years ago
Archive · by Muut Archive, 9 years ago
1 2942 9 years ago
Archive · by Muut Archive, 9 years ago
3 1115 9 years ago