Minor Changes
-
2e2b6de
#557 Thanks @LekoArts! - feat(gatsby-theme-jodie): Add customization options for homepageThe PR #557 added some new possiblities to customize the homepage of
gatsby-theme-jodie
. This was requested in: #547More specifically, this adds two new theme options and one special file to shadow:
homepagePageLimit
homepageProjectLimit
- Shadowing
modify-grid.ts
The options 1) and 2) are explained in the theme options of the README -- they limit the number of projects and pages that will randomly be distributed on the page.
Option 3) is a really powerful one! The
modifyGrid
function is wrapping the entire array of projects & pages before passing it to therender
function of the React component. Or in other words: As the name suggests you can modify the items that are passed to the grid on the homepage.You don't need to update any code on your end, however, if you want to modify your homepage, see the instructions in the README.