Skip to content

Commit

Permalink
Update modernandfree.js
Browse files Browse the repository at this point in the history
Added new pageModule... module...
- This lets me set CSS classes from inside Notion. So hopefully this can lead to a more streamlined page loader, more modules (such as full-width gallery slideshows), and a standardized framework for myself!
- The biggest part of this is being able to add a class name in notion (using !${"type": "menunav"}) and it applies it to the host object AND to the body. This means I can now, for example, affect the main navbar if the page has a secondary navbar.
  • Loading branch information
andreasjr committed Feb 4, 2021
1 parent ba00de2 commit cd99c2d
Showing 1 changed file with 254 additions and 1 deletion.
Loading

0 comments on commit cd99c2d

Please sign in to comment.