Gantry 5 'Hypothesis' Atom for Grav
Atoms are small, modular blocks with preset scripting that enable you to add elements to your Grav Gantry 5 pages.
Installing the Atom
Before installing and using the Atom, it is suggested you temporarily enable Gantry's
- Open the folder for your active theme in the
user/data/gantry5/themes/folder of your Gantry installation. For example, if you are using the Helium theme open the folder
- If a
particlesfolder already exists within the theme folder open it, otherwise create it.
hypothesis.yamlfiles into the
particlesfolder. For example, if you are using the Helium theme copy the two particle files into
Using the Atom
- Add the Atom to your theme's 'Atoms' area on the 'Page Settings' panel.
Once the particle is installed, Grav pages will support the following Page Header/FrontMatter option:
hide_hypothesis: true # hide Hypothesis sidebar on this page