Not using a Gantry 5 theme with Grav? No problem! There is also a Hypothesis plugin available.

The 'Hypothesis' Atom displays the Hypothesis sidebar on your Grav site.

Download the Gantry 5 Atom

Installing the Atom

Before installing and using the Atom, it is suggested you temporarily enable Gantry's Development Mode

  1. Open the folder of your active Gantry theme. For example, if you are using the Hydrogen theme open the folder /user/themes/g5_hydrogen.
  2. If a custom folder already exists open it, otherwise create it.
  3. If a particles folder already exists within the custom folder open it, otherwise create it.
  4. Upload hypothesis.html.twig and hypothesis.yaml files into the /custom/particles folder. For example, if you are using the Hydrogen theme copy the two particle files into /user/themes/g5_hydrogen/custom/particles.

Using the Atom

  1. Add the Atom to your theme's 'Atoms' area on the 'Page Settings' panel.

Page Options

Once the particle is installed, Grav pages will support the following Page Header/FrontMatter option:

hide_hypothesis: true    # hide Hypothesis sidebar on this page

Notice an error? Could you make this documentation better? Edit this Page